Skip to content

Commit fdeeb21

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 706885773
1 parent b854c34 commit fdeeb21

10 files changed

+22
-28
lines changed

java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/stub/EndpointServiceStub.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616

1717
package com.google.cloud.vertexai.api.stub;
1818

19-
import static com.google.cloud.vertexai.api.EndpointServiceClient.ListEndpointsPagedResponse;
20-
import static com.google.cloud.vertexai.api.EndpointServiceClient.ListLocationsPagedResponse;
21-
2219
import com.google.api.gax.core.BackgroundResource;
2320
import com.google.api.gax.rpc.OperationCallable;
2421
import com.google.api.gax.rpc.UnaryCallable;
@@ -34,6 +31,8 @@
3431
import com.google.cloud.vertexai.api.DeployModelRequest;
3532
import com.google.cloud.vertexai.api.DeployModelResponse;
3633
import com.google.cloud.vertexai.api.Endpoint;
34+
import com.google.cloud.vertexai.api.EndpointServiceClient.ListEndpointsPagedResponse;
35+
import com.google.cloud.vertexai.api.EndpointServiceClient.ListLocationsPagedResponse;
3736
import com.google.cloud.vertexai.api.GetEndpointRequest;
3837
import com.google.cloud.vertexai.api.ListEndpointsRequest;
3938
import com.google.cloud.vertexai.api.ListEndpointsResponse;

java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/stub/EndpointServiceStubSettings.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616

1717
package com.google.cloud.vertexai.api.stub;
1818

19-
import static com.google.cloud.vertexai.api.EndpointServiceClient.ListEndpointsPagedResponse;
20-
import static com.google.cloud.vertexai.api.EndpointServiceClient.ListLocationsPagedResponse;
21-
2219
import com.google.api.core.ApiFunction;
2320
import com.google.api.core.ApiFuture;
2421
import com.google.api.core.BetaApi;
@@ -61,6 +58,8 @@
6158
import com.google.cloud.vertexai.api.DeployModelRequest;
6259
import com.google.cloud.vertexai.api.DeployModelResponse;
6360
import com.google.cloud.vertexai.api.Endpoint;
61+
import com.google.cloud.vertexai.api.EndpointServiceClient.ListEndpointsPagedResponse;
62+
import com.google.cloud.vertexai.api.EndpointServiceClient.ListLocationsPagedResponse;
6463
import com.google.cloud.vertexai.api.GetEndpointRequest;
6564
import com.google.cloud.vertexai.api.ListEndpointsRequest;
6665
import com.google.cloud.vertexai.api.ListEndpointsResponse;

java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/stub/GrpcEndpointServiceStub.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616

1717
package com.google.cloud.vertexai.api.stub;
1818

19-
import static com.google.cloud.vertexai.api.EndpointServiceClient.ListEndpointsPagedResponse;
20-
import static com.google.cloud.vertexai.api.EndpointServiceClient.ListLocationsPagedResponse;
21-
2219
import com.google.api.gax.core.BackgroundResource;
2320
import com.google.api.gax.core.BackgroundResourceAggregation;
2421
import com.google.api.gax.grpc.GrpcCallSettings;
@@ -39,6 +36,8 @@
3936
import com.google.cloud.vertexai.api.DeployModelRequest;
4037
import com.google.cloud.vertexai.api.DeployModelResponse;
4138
import com.google.cloud.vertexai.api.Endpoint;
39+
import com.google.cloud.vertexai.api.EndpointServiceClient.ListEndpointsPagedResponse;
40+
import com.google.cloud.vertexai.api.EndpointServiceClient.ListLocationsPagedResponse;
4241
import com.google.cloud.vertexai.api.GetEndpointRequest;
4342
import com.google.cloud.vertexai.api.ListEndpointsRequest;
4443
import com.google.cloud.vertexai.api.ListEndpointsResponse;

java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/stub/GrpcLlmUtilityServiceStub.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
package com.google.cloud.vertexai.api.stub;
1818

19-
import static com.google.cloud.vertexai.api.LlmUtilityServiceClient.ListLocationsPagedResponse;
20-
2119
import com.google.api.gax.core.BackgroundResource;
2220
import com.google.api.gax.core.BackgroundResourceAggregation;
2321
import com.google.api.gax.grpc.GrpcCallSettings;
@@ -33,6 +31,7 @@
3331
import com.google.cloud.vertexai.api.ComputeTokensResponse;
3432
import com.google.cloud.vertexai.api.CountTokensRequest;
3533
import com.google.cloud.vertexai.api.CountTokensResponse;
34+
import com.google.cloud.vertexai.api.LlmUtilityServiceClient.ListLocationsPagedResponse;
3635
import com.google.iam.v1.GetIamPolicyRequest;
3736
import com.google.iam.v1.Policy;
3837
import com.google.iam.v1.SetIamPolicyRequest;

java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/stub/GrpcPredictionServiceStub.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
package com.google.cloud.vertexai.api.stub;
1818

19-
import static com.google.cloud.vertexai.api.PredictionServiceClient.ListLocationsPagedResponse;
20-
2119
import com.google.api.HttpBody;
2220
import com.google.api.gax.core.BackgroundResource;
2321
import com.google.api.gax.core.BackgroundResourceAggregation;
@@ -42,6 +40,7 @@
4240
import com.google.cloud.vertexai.api.GenerateContentResponse;
4341
import com.google.cloud.vertexai.api.PredictRequest;
4442
import com.google.cloud.vertexai.api.PredictResponse;
43+
import com.google.cloud.vertexai.api.PredictionServiceClient.ListLocationsPagedResponse;
4544
import com.google.cloud.vertexai.api.RawPredictRequest;
4645
import com.google.cloud.vertexai.api.StreamDirectPredictRequest;
4746
import com.google.cloud.vertexai.api.StreamDirectPredictResponse;

java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/stub/HttpJsonEndpointServiceStub.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616

1717
package com.google.cloud.vertexai.api.stub;
1818

19-
import static com.google.cloud.vertexai.api.EndpointServiceClient.ListEndpointsPagedResponse;
20-
import static com.google.cloud.vertexai.api.EndpointServiceClient.ListLocationsPagedResponse;
21-
2219
import com.google.api.HttpRule;
2320
import com.google.api.core.InternalApi;
2421
import com.google.api.gax.core.BackgroundResource;
@@ -47,6 +44,8 @@
4744
import com.google.cloud.vertexai.api.DeployModelRequest;
4845
import com.google.cloud.vertexai.api.DeployModelResponse;
4946
import com.google.cloud.vertexai.api.Endpoint;
47+
import com.google.cloud.vertexai.api.EndpointServiceClient.ListEndpointsPagedResponse;
48+
import com.google.cloud.vertexai.api.EndpointServiceClient.ListLocationsPagedResponse;
5049
import com.google.cloud.vertexai.api.GetEndpointRequest;
5150
import com.google.cloud.vertexai.api.ListEndpointsRequest;
5251
import com.google.cloud.vertexai.api.ListEndpointsResponse;

java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/stub/HttpJsonLlmUtilityServiceStub.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
package com.google.cloud.vertexai.api.stub;
1818

19-
import static com.google.cloud.vertexai.api.LlmUtilityServiceClient.ListLocationsPagedResponse;
20-
2119
import com.google.api.core.InternalApi;
2220
import com.google.api.gax.core.BackgroundResource;
2321
import com.google.api.gax.core.BackgroundResourceAggregation;
@@ -38,6 +36,7 @@
3836
import com.google.cloud.vertexai.api.ComputeTokensResponse;
3937
import com.google.cloud.vertexai.api.CountTokensRequest;
4038
import com.google.cloud.vertexai.api.CountTokensResponse;
39+
import com.google.cloud.vertexai.api.LlmUtilityServiceClient.ListLocationsPagedResponse;
4140
import com.google.iam.v1.GetIamPolicyRequest;
4241
import com.google.iam.v1.Policy;
4342
import com.google.iam.v1.SetIamPolicyRequest;

java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/stub/HttpJsonPredictionServiceStub.java

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
package com.google.cloud.vertexai.api.stub;
1818

19-
import static com.google.cloud.vertexai.api.PredictionServiceClient.ListLocationsPagedResponse;
20-
2119
import com.google.api.HttpBody;
2220
import com.google.api.core.InternalApi;
2321
import com.google.api.gax.core.BackgroundResource;
@@ -47,6 +45,7 @@
4745
import com.google.cloud.vertexai.api.GenerateContentResponse;
4846
import com.google.cloud.vertexai.api.PredictRequest;
4947
import com.google.cloud.vertexai.api.PredictResponse;
48+
import com.google.cloud.vertexai.api.PredictionServiceClient.ListLocationsPagedResponse;
5049
import com.google.cloud.vertexai.api.RawPredictRequest;
5150
import com.google.cloud.vertexai.api.StreamDirectPredictRequest;
5251
import com.google.cloud.vertexai.api.StreamDirectPredictResponse;
@@ -1032,28 +1031,32 @@ public UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
10321031
public BidiStreamingCallable<StreamDirectPredictRequest, StreamDirectPredictResponse>
10331032
streamDirectPredictCallable() {
10341033
throw new UnsupportedOperationException(
1035-
"Not implemented: streamDirectPredictCallable(). REST transport is not implemented for this method yet.");
1034+
"Not implemented: streamDirectPredictCallable(). REST transport is not implemented for this"
1035+
+ " method yet.");
10361036
}
10371037

10381038
@Override
10391039
public BidiStreamingCallable<StreamDirectRawPredictRequest, StreamDirectRawPredictResponse>
10401040
streamDirectRawPredictCallable() {
10411041
throw new UnsupportedOperationException(
1042-
"Not implemented: streamDirectRawPredictCallable(). REST transport is not implemented for this method yet.");
1042+
"Not implemented: streamDirectRawPredictCallable(). REST transport is not implemented for"
1043+
+ " this method yet.");
10431044
}
10441045

10451046
@Override
10461047
public BidiStreamingCallable<StreamingPredictRequest, StreamingPredictResponse>
10471048
streamingPredictCallable() {
10481049
throw new UnsupportedOperationException(
1049-
"Not implemented: streamingPredictCallable(). REST transport is not implemented for this method yet.");
1050+
"Not implemented: streamingPredictCallable(). REST transport is not implemented for this"
1051+
+ " method yet.");
10501052
}
10511053

10521054
@Override
10531055
public BidiStreamingCallable<StreamingRawPredictRequest, StreamingRawPredictResponse>
10541056
streamingRawPredictCallable() {
10551057
throw new UnsupportedOperationException(
1056-
"Not implemented: streamingRawPredictCallable(). REST transport is not implemented for this method yet.");
1058+
"Not implemented: streamingRawPredictCallable(). REST transport is not implemented for this"
1059+
+ " method yet.");
10571060
}
10581061

10591062
@Override

java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/stub/LlmUtilityServiceStub.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
package com.google.cloud.vertexai.api.stub;
1818

19-
import static com.google.cloud.vertexai.api.LlmUtilityServiceClient.ListLocationsPagedResponse;
20-
2119
import com.google.api.gax.core.BackgroundResource;
2220
import com.google.api.gax.rpc.UnaryCallable;
2321
import com.google.cloud.location.GetLocationRequest;
@@ -28,6 +26,7 @@
2826
import com.google.cloud.vertexai.api.ComputeTokensResponse;
2927
import com.google.cloud.vertexai.api.CountTokensRequest;
3028
import com.google.cloud.vertexai.api.CountTokensResponse;
29+
import com.google.cloud.vertexai.api.LlmUtilityServiceClient.ListLocationsPagedResponse;
3130
import com.google.iam.v1.GetIamPolicyRequest;
3231
import com.google.iam.v1.Policy;
3332
import com.google.iam.v1.SetIamPolicyRequest;

java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/stub/LlmUtilityServiceStubSettings.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
package com.google.cloud.vertexai.api.stub;
1818

19-
import static com.google.cloud.vertexai.api.LlmUtilityServiceClient.ListLocationsPagedResponse;
20-
2119
import com.google.api.core.ApiFunction;
2220
import com.google.api.core.ApiFuture;
2321
import com.google.api.core.BetaApi;
@@ -52,6 +50,7 @@
5250
import com.google.cloud.vertexai.api.ComputeTokensResponse;
5351
import com.google.cloud.vertexai.api.CountTokensRequest;
5452
import com.google.cloud.vertexai.api.CountTokensResponse;
53+
import com.google.cloud.vertexai.api.LlmUtilityServiceClient.ListLocationsPagedResponse;
5554
import com.google.common.collect.ImmutableList;
5655
import com.google.common.collect.ImmutableMap;
5756
import com.google.common.collect.ImmutableSet;

0 commit comments

Comments
 (0)