| Package | Description |
|---|---|
| com.google.cloud.aiplatform.v1 |
A client to Vertex AI API
The interfaces provided are listed below, along with usage samples.
|
| com.google.cloud.aiplatform.v1.stub |
| Modifier and Type | Method and Description |
|---|---|
DatasetServiceClient.ListAnnotationsPagedResponse |
DatasetServiceClient.listAnnotations(DataItemName parent)
Lists Annotations belongs to a dataitem
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
DataItemName parent = DataItemName.of("[PROJECT]", "[LOCATION]", "[DATASET]", "[DATA_ITEM]");
for (Annotation element : datasetServiceClient.listAnnotations(parent).iterateAll()) {
// doThingsWith(element);
}
}
|
DatasetServiceClient.ListAnnotationsPagedResponse |
DatasetServiceClient.listAnnotations(ListAnnotationsRequest request)
Lists Annotations belongs to a dataitem
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
ListAnnotationsRequest request =
ListAnnotationsRequest.newBuilder()
.setParent(
DataItemName.of("[PROJECT]", "[LOCATION]", "[DATASET]", "[DATA_ITEM]").toString())
.setFilter("filter-1274492040")
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.setReadMask(FieldMask.newBuilder().build())
.setOrderBy("orderBy-1207110587")
.build();
for (Annotation element : datasetServiceClient.listAnnotations(request).iterateAll()) {
// doThingsWith(element);
}
}
|
DatasetServiceClient.ListAnnotationsPagedResponse |
DatasetServiceClient.listAnnotations(String parent)
Lists Annotations belongs to a dataitem
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
String parent =
DataItemName.of("[PROJECT]", "[LOCATION]", "[DATASET]", "[DATA_ITEM]").toString();
for (Annotation element : datasetServiceClient.listAnnotations(parent).iterateAll()) {
// doThingsWith(element);
}
}
|
| Modifier and Type | Method and Description |
|---|---|
static com.google.api.core.ApiFuture<DatasetServiceClient.ListAnnotationsPagedResponse> |
DatasetServiceClient.ListAnnotationsPagedResponse.createAsync(com.google.api.gax.rpc.PageContext<ListAnnotationsRequest,ListAnnotationsResponse,Annotation> context,
com.google.api.core.ApiFuture<ListAnnotationsResponse> futureResponse) |
com.google.api.gax.rpc.UnaryCallable<ListAnnotationsRequest,DatasetServiceClient.ListAnnotationsPagedResponse> |
DatasetServiceClient.listAnnotationsPagedCallable()
Lists Annotations belongs to a dataitem
Sample code:
{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
ListAnnotationsRequest request =
ListAnnotationsRequest.newBuilder()
.setParent(
DataItemName.of("[PROJECT]", "[LOCATION]", "[DATASET]", "[DATA_ITEM]").toString())
.setFilter("filter-1274492040")
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.setReadMask(FieldMask.newBuilder().build())
.setOrderBy("orderBy-1207110587")
.build();
ApiFuture
|
com.google.api.gax.rpc.PagedCallSettings<ListAnnotationsRequest,ListAnnotationsResponse,DatasetServiceClient.ListAnnotationsPagedResponse> |
DatasetServiceSettings.listAnnotationsSettings()
Returns the object with the settings used for calls to listAnnotations.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListAnnotationsRequest,ListAnnotationsResponse,DatasetServiceClient.ListAnnotationsPagedResponse> |
DatasetServiceSettings.Builder.listAnnotationsSettings()
Returns the builder for the settings used for calls to listAnnotations.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.UnaryCallable<ListAnnotationsRequest,DatasetServiceClient.ListAnnotationsPagedResponse> |
DatasetServiceStub.listAnnotationsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListAnnotationsRequest,DatasetServiceClient.ListAnnotationsPagedResponse> |
GrpcDatasetServiceStub.listAnnotationsPagedCallable() |
com.google.api.gax.rpc.PagedCallSettings<ListAnnotationsRequest,ListAnnotationsResponse,DatasetServiceClient.ListAnnotationsPagedResponse> |
DatasetServiceStubSettings.listAnnotationsSettings()
Returns the object with the settings used for calls to listAnnotations.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListAnnotationsRequest,ListAnnotationsResponse,DatasetServiceClient.ListAnnotationsPagedResponse> |
DatasetServiceStubSettings.Builder.listAnnotationsSettings()
Returns the builder for the settings used for calls to listAnnotations.
|
Copyright © 2024 Google LLC. All rights reserved.