-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [aiplatform] add Content (#10116)
* feat: add data_stats to Model feat: add data_stats to ExportDataResponse feat: add filter_split to ExportDataConfig feat: add saved_query_id to ExportDataConfig feat: add annotation_schema_uri to ExportDataConfig feat: add export_use to ExportDataConfig docs: update exported_files description in ExportDataResponse PiperOrigin-RevId: 588136649 Source-Link: googleapis/googleapis@57b57f4 Source-Link: https://github.com/googleapis/googleapis-gen/commit/0d911437b7641081dd7577e1d60f00fdef8ef142 Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiIwZDkxMTQzN2I3NjQxMDgxZGQ3NTc3ZTFkNjBmMDBmZGVmOGVmMTQyIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: add Content feat: add data_stats to ExportDataResponse feat: add display_name to DeployedIndex feat: add ExportEndpointOperationMetadata to EndpointService docs: changes name from OUTPUT_ONLY to IDENTIFIER in FeatureGroup feat: add FunctionCall and FunctionResponse feat: add REBOOTING and notebook_runtime_template to PersistentResource feat: add BatchCancelPipelineJobs to PipelineService feat: add StreamGenerateContent and GenerateContentRequest to PredictionService feat: add Tool PiperOrigin-RevId: 589253340 Source-Link: googleapis/googleapis@0ed84b3 Source-Link: https://github.com/googleapis/googleapis-gen/commit/b56eb456909e8e124914edc6064b14f88b1fd261 Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiJiNTZlYjQ1NjkwOWU4ZTEyNDkxNGVkYzYwNjRiMTRmODhiMWZkMjYxIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: add Content feat: add ExportUse and ExportFilterSplit to Dataset feat: add data_stats to ExportDataResponse feat: add display_name to DeployedIndex feat: add DeploymentResourcePool feat: add DeploymentResourcePoolService feat: add shared_resources to DeployedModel docs: changes name from OUTPUT_ONLY to IDENTIFIER in FeatureGroup feat: add DataStats to Model feat: add model and contents to PredictionService feat: add Tool PiperOrigin-RevId: 589254081 Source-Link: googleapis/googleapis@00931e0 Source-Link: https://github.com/googleapis/googleapis-gen/commit/139381804534c7248e26b0e23c418b2e067b6bb6 Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiIxMzkzODE4MDQ1MzRjNzI0OGUyNmIwZTIzYzQxOGIyZTA2N2I2YmI2In0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
a55ad88
commit b6c07b9
Showing
298 changed files
with
98,125 additions
and
1,371 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,695 changes: 1,695 additions & 0 deletions
1,695
...orm/src/main/java/com/google/cloud/aiplatform/v1/DeploymentResourcePoolServiceClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
360 changes: 360 additions & 0 deletions
360
...m/src/main/java/com/google/cloud/aiplatform/v1/DeploymentResourcePoolServiceSettings.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
145 changes: 145 additions & 0 deletions
145
.../src/main/java/com/google/cloud/aiplatform/v1/stub/DeploymentResourcePoolServiceStub.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
/* | ||
* Copyright 2023 Google LLC | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.google.cloud.aiplatform.v1.stub; | ||
|
||
import static com.google.cloud.aiplatform.v1.DeploymentResourcePoolServiceClient.ListDeploymentResourcePoolsPagedResponse; | ||
import static com.google.cloud.aiplatform.v1.DeploymentResourcePoolServiceClient.ListLocationsPagedResponse; | ||
import static com.google.cloud.aiplatform.v1.DeploymentResourcePoolServiceClient.QueryDeployedModelsPagedResponse; | ||
|
||
import com.google.api.gax.core.BackgroundResource; | ||
import com.google.api.gax.rpc.OperationCallable; | ||
import com.google.api.gax.rpc.UnaryCallable; | ||
import com.google.cloud.aiplatform.v1.CreateDeploymentResourcePoolOperationMetadata; | ||
import com.google.cloud.aiplatform.v1.CreateDeploymentResourcePoolRequest; | ||
import com.google.cloud.aiplatform.v1.DeleteDeploymentResourcePoolRequest; | ||
import com.google.cloud.aiplatform.v1.DeleteOperationMetadata; | ||
import com.google.cloud.aiplatform.v1.DeploymentResourcePool; | ||
import com.google.cloud.aiplatform.v1.GetDeploymentResourcePoolRequest; | ||
import com.google.cloud.aiplatform.v1.ListDeploymentResourcePoolsRequest; | ||
import com.google.cloud.aiplatform.v1.ListDeploymentResourcePoolsResponse; | ||
import com.google.cloud.aiplatform.v1.QueryDeployedModelsRequest; | ||
import com.google.cloud.aiplatform.v1.QueryDeployedModelsResponse; | ||
import com.google.cloud.location.GetLocationRequest; | ||
import com.google.cloud.location.ListLocationsRequest; | ||
import com.google.cloud.location.ListLocationsResponse; | ||
import com.google.cloud.location.Location; | ||
import com.google.iam.v1.GetIamPolicyRequest; | ||
import com.google.iam.v1.Policy; | ||
import com.google.iam.v1.SetIamPolicyRequest; | ||
import com.google.iam.v1.TestIamPermissionsRequest; | ||
import com.google.iam.v1.TestIamPermissionsResponse; | ||
import com.google.longrunning.Operation; | ||
import com.google.longrunning.stub.OperationsStub; | ||
import com.google.protobuf.Empty; | ||
import javax.annotation.Generated; | ||
|
||
// AUTO-GENERATED DOCUMENTATION AND CLASS. | ||
/** | ||
* Base stub class for the DeploymentResourcePoolService service API. | ||
* | ||
* <p>This class is for advanced usage and reflects the underlying API directly. | ||
*/ | ||
@Generated("by gapic-generator-java") | ||
public abstract class DeploymentResourcePoolServiceStub implements BackgroundResource { | ||
|
||
public OperationsStub getOperationsStub() { | ||
throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); | ||
} | ||
|
||
public OperationCallable< | ||
CreateDeploymentResourcePoolRequest, | ||
DeploymentResourcePool, | ||
CreateDeploymentResourcePoolOperationMetadata> | ||
createDeploymentResourcePoolOperationCallable() { | ||
throw new UnsupportedOperationException( | ||
"Not implemented: createDeploymentResourcePoolOperationCallable()"); | ||
} | ||
|
||
public UnaryCallable<CreateDeploymentResourcePoolRequest, Operation> | ||
createDeploymentResourcePoolCallable() { | ||
throw new UnsupportedOperationException( | ||
"Not implemented: createDeploymentResourcePoolCallable()"); | ||
} | ||
|
||
public UnaryCallable<GetDeploymentResourcePoolRequest, DeploymentResourcePool> | ||
getDeploymentResourcePoolCallable() { | ||
throw new UnsupportedOperationException("Not implemented: getDeploymentResourcePoolCallable()"); | ||
} | ||
|
||
public UnaryCallable<ListDeploymentResourcePoolsRequest, ListDeploymentResourcePoolsPagedResponse> | ||
listDeploymentResourcePoolsPagedCallable() { | ||
throw new UnsupportedOperationException( | ||
"Not implemented: listDeploymentResourcePoolsPagedCallable()"); | ||
} | ||
|
||
public UnaryCallable<ListDeploymentResourcePoolsRequest, ListDeploymentResourcePoolsResponse> | ||
listDeploymentResourcePoolsCallable() { | ||
throw new UnsupportedOperationException( | ||
"Not implemented: listDeploymentResourcePoolsCallable()"); | ||
} | ||
|
||
public OperationCallable<DeleteDeploymentResourcePoolRequest, Empty, DeleteOperationMetadata> | ||
deleteDeploymentResourcePoolOperationCallable() { | ||
throw new UnsupportedOperationException( | ||
"Not implemented: deleteDeploymentResourcePoolOperationCallable()"); | ||
} | ||
|
||
public UnaryCallable<DeleteDeploymentResourcePoolRequest, Operation> | ||
deleteDeploymentResourcePoolCallable() { | ||
throw new UnsupportedOperationException( | ||
"Not implemented: deleteDeploymentResourcePoolCallable()"); | ||
} | ||
|
||
public UnaryCallable<QueryDeployedModelsRequest, QueryDeployedModelsPagedResponse> | ||
queryDeployedModelsPagedCallable() { | ||
throw new UnsupportedOperationException("Not implemented: queryDeployedModelsPagedCallable()"); | ||
} | ||
|
||
public UnaryCallable<QueryDeployedModelsRequest, QueryDeployedModelsResponse> | ||
queryDeployedModelsCallable() { | ||
throw new UnsupportedOperationException("Not implemented: queryDeployedModelsCallable()"); | ||
} | ||
|
||
public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse> | ||
listLocationsPagedCallable() { | ||
throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); | ||
} | ||
|
||
public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() { | ||
throw new UnsupportedOperationException("Not implemented: listLocationsCallable()"); | ||
} | ||
|
||
public UnaryCallable<GetLocationRequest, Location> getLocationCallable() { | ||
throw new UnsupportedOperationException("Not implemented: getLocationCallable()"); | ||
} | ||
|
||
public UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() { | ||
throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); | ||
} | ||
|
||
public UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() { | ||
throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); | ||
} | ||
|
||
public UnaryCallable<TestIamPermissionsRequest, TestIamPermissionsResponse> | ||
testIamPermissionsCallable() { | ||
throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); | ||
} | ||
|
||
@Override | ||
public abstract void close(); | ||
} |
Oops, something went wrong.