public static final class FetchExamplesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FetchExamplesRequest.Builder> implements FetchExamplesRequestOrBuilder
Request message for [ExampleStoreService.FetchExamples][google.cloud.aiplatform.v1beta1.ExampleStoreService.FetchExamples].Protobuf type
google.cloud.aiplatform.v1beta1.FetchExamplesRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FetchExamplesRequest.Builder>public FetchExamplesRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<FetchExamplesRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FetchExamplesRequest.Builder>public FetchExamplesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FetchExamplesRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FetchExamplesRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FetchExamplesRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<FetchExamplesRequest.Builder>public FetchExamplesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<FetchExamplesRequest.Builder>public FetchExamplesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<FetchExamplesRequest.Builder>public FetchExamplesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FetchExamplesRequest.Builder>public FetchExamplesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FetchExamplesRequest.Builder>public FetchExamplesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FetchExamplesRequest.Builder>public FetchExamplesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FetchExamplesRequest.Builder>public FetchExamplesRequest.Builder mergeFrom(FetchExamplesRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FetchExamplesRequest.Builder>public FetchExamplesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FetchExamplesRequest.Builder>IOExceptionpublic FetchExamplesRequest.MetadataFilterCase getMetadataFilterCase()
getMetadataFilterCase in interface FetchExamplesRequestOrBuilderpublic FetchExamplesRequest.Builder clearMetadataFilter()
public boolean hasStoredContentsExampleFilter()
The metadata filters for StoredContentsExamples.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;
hasStoredContentsExampleFilter in interface FetchExamplesRequestOrBuilderpublic StoredContentsExampleFilter getStoredContentsExampleFilter()
The metadata filters for StoredContentsExamples.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;
getStoredContentsExampleFilter in interface FetchExamplesRequestOrBuilderpublic FetchExamplesRequest.Builder setStoredContentsExampleFilter(StoredContentsExampleFilter value)
The metadata filters for StoredContentsExamples.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;
public FetchExamplesRequest.Builder setStoredContentsExampleFilter(StoredContentsExampleFilter.Builder builderForValue)
The metadata filters for StoredContentsExamples.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;
public FetchExamplesRequest.Builder mergeStoredContentsExampleFilter(StoredContentsExampleFilter value)
The metadata filters for StoredContentsExamples.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;
public FetchExamplesRequest.Builder clearStoredContentsExampleFilter()
The metadata filters for StoredContentsExamples.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;
public StoredContentsExampleFilter.Builder getStoredContentsExampleFilterBuilder()
The metadata filters for StoredContentsExamples.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;
public StoredContentsExampleFilterOrBuilder getStoredContentsExampleFilterOrBuilder()
The metadata filters for StoredContentsExamples.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;
getStoredContentsExampleFilterOrBuilder in interface FetchExamplesRequestOrBuilderpublic String getExampleStore()
Required. The name of the ExampleStore resource that the examples should be
fetched from. Format:
`projects/{project}/locations/{location}/exampleStores/{example_store}`
string example_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getExampleStore in interface FetchExamplesRequestOrBuilderpublic com.google.protobuf.ByteString getExampleStoreBytes()
Required. The name of the ExampleStore resource that the examples should be
fetched from. Format:
`projects/{project}/locations/{location}/exampleStores/{example_store}`
string example_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getExampleStoreBytes in interface FetchExamplesRequestOrBuilderpublic FetchExamplesRequest.Builder setExampleStore(String value)
Required. The name of the ExampleStore resource that the examples should be
fetched from. Format:
`projects/{project}/locations/{location}/exampleStores/{example_store}`
string example_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The exampleStore to set.public FetchExamplesRequest.Builder clearExampleStore()
Required. The name of the ExampleStore resource that the examples should be
fetched from. Format:
`projects/{project}/locations/{location}/exampleStores/{example_store}`
string example_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public FetchExamplesRequest.Builder setExampleStoreBytes(com.google.protobuf.ByteString value)
Required. The name of the ExampleStore resource that the examples should be
fetched from. Format:
`projects/{project}/locations/{location}/exampleStores/{example_store}`
string example_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for exampleStore to set.public int getPageSize()
Optional. The maximum number of examples to return. The service may return fewer than this value. If unspecified, at most 100 examples will be returned.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];getPageSize in interface FetchExamplesRequestOrBuilderpublic FetchExamplesRequest.Builder setPageSize(int value)
Optional. The maximum number of examples to return. The service may return fewer than this value. If unspecified, at most 100 examples will be returned.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];value - The pageSize to set.public FetchExamplesRequest.Builder clearPageSize()
Optional. The maximum number of examples to return. The service may return fewer than this value. If unspecified, at most 100 examples will be returned.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];public String getPageToken()
Optional. The [next_page_token][google.cloud.aiplatform.v1beta1.FetchExamplesResponse.next_page_token] value returned from a previous list [ExampleStoreService.FetchExamplesResponse][] call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];getPageToken in interface FetchExamplesRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
Optional. The [next_page_token][google.cloud.aiplatform.v1beta1.FetchExamplesResponse.next_page_token] value returned from a previous list [ExampleStoreService.FetchExamplesResponse][] call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];getPageTokenBytes in interface FetchExamplesRequestOrBuilderpublic FetchExamplesRequest.Builder setPageToken(String value)
Optional. The [next_page_token][google.cloud.aiplatform.v1beta1.FetchExamplesResponse.next_page_token] value returned from a previous list [ExampleStoreService.FetchExamplesResponse][] call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];value - The pageToken to set.public FetchExamplesRequest.Builder clearPageToken()
Optional. The [next_page_token][google.cloud.aiplatform.v1beta1.FetchExamplesResponse.next_page_token] value returned from a previous list [ExampleStoreService.FetchExamplesResponse][] call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];public FetchExamplesRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
Optional. The [next_page_token][google.cloud.aiplatform.v1beta1.FetchExamplesResponse.next_page_token] value returned from a previous list [ExampleStoreService.FetchExamplesResponse][] call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for pageToken to set.public com.google.protobuf.ProtocolStringList getExampleIdsList()
Optional. Example IDs to fetch. If both metadata filters and Example IDs are specified, then both ID and metadata filtering will be applied.
repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];getExampleIdsList in interface FetchExamplesRequestOrBuilderpublic int getExampleIdsCount()
Optional. Example IDs to fetch. If both metadata filters and Example IDs are specified, then both ID and metadata filtering will be applied.
repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];getExampleIdsCount in interface FetchExamplesRequestOrBuilderpublic String getExampleIds(int index)
Optional. Example IDs to fetch. If both metadata filters and Example IDs are specified, then both ID and metadata filtering will be applied.
repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];getExampleIds in interface FetchExamplesRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getExampleIdsBytes(int index)
Optional. Example IDs to fetch. If both metadata filters and Example IDs are specified, then both ID and metadata filtering will be applied.
repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];getExampleIdsBytes in interface FetchExamplesRequestOrBuilderindex - The index of the value to return.public FetchExamplesRequest.Builder setExampleIds(int index, String value)
Optional. Example IDs to fetch. If both metadata filters and Example IDs are specified, then both ID and metadata filtering will be applied.
repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];index - The index to set the value at.value - The exampleIds to set.public FetchExamplesRequest.Builder addExampleIds(String value)
Optional. Example IDs to fetch. If both metadata filters and Example IDs are specified, then both ID and metadata filtering will be applied.
repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];value - The exampleIds to add.public FetchExamplesRequest.Builder addAllExampleIds(Iterable<String> values)
Optional. Example IDs to fetch. If both metadata filters and Example IDs are specified, then both ID and metadata filtering will be applied.
repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];values - The exampleIds to add.public FetchExamplesRequest.Builder clearExampleIds()
Optional. Example IDs to fetch. If both metadata filters and Example IDs are specified, then both ID and metadata filtering will be applied.
repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];public FetchExamplesRequest.Builder addExampleIdsBytes(com.google.protobuf.ByteString value)
Optional. Example IDs to fetch. If both metadata filters and Example IDs are specified, then both ID and metadata filtering will be applied.
repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];value - The bytes of the exampleIds to add.public final FetchExamplesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FetchExamplesRequest.Builder>public final FetchExamplesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FetchExamplesRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.