Skip to content

Commit faf2b31

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 853499781
1 parent 14e46ac commit faf2b31

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;
@@ -1035,28 +1034,32 @@ public UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
10351034
public BidiStreamingCallable<StreamDirectPredictRequest, StreamDirectPredictResponse>
10361035
streamDirectPredictCallable() {
10371036
throw new UnsupportedOperationException(
1038-
"Not implemented: streamDirectPredictCallable(). REST transport is not implemented for this method yet.");
1037+
"Not implemented: streamDirectPredictCallable(). REST transport is not implemented for this"
1038+
+ " method yet.");
10391039
}
10401040

10411041
@Override
10421042
public BidiStreamingCallable<StreamDirectRawPredictRequest, StreamDirectRawPredictResponse>
10431043
streamDirectRawPredictCallable() {
10441044
throw new UnsupportedOperationException(
1045-
"Not implemented: streamDirectRawPredictCallable(). REST transport is not implemented for this method yet.");
1045+
"Not implemented: streamDirectRawPredictCallable(). REST transport is not implemented for"
1046+
+ " this method yet.");
10461047
}
10471048

10481049
@Override
10491050
public BidiStreamingCallable<StreamingPredictRequest, StreamingPredictResponse>
10501051
streamingPredictCallable() {
10511052
throw new UnsupportedOperationException(
1052-
"Not implemented: streamingPredictCallable(). REST transport is not implemented for this method yet.");
1053+
"Not implemented: streamingPredictCallable(). REST transport is not implemented for this"
1054+
+ " method yet.");
10531055
}
10541056

10551057
@Override
10561058
public BidiStreamingCallable<StreamingRawPredictRequest, StreamingRawPredictResponse>
10571059
streamingRawPredictCallable() {
10581060
throw new UnsupportedOperationException(
1059-
"Not implemented: streamingRawPredictCallable(). REST transport is not implemented for this method yet.");
1061+
"Not implemented: streamingRawPredictCallable(). REST transport is not implemented for this"
1062+
+ " method yet.");
10601063
}
10611064

10621065
@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)