public final class FetchExamplesRequest extends com.google.protobuf.GeneratedMessageV3 implements FetchExamplesRequestOrBuilder
Request message for [ExampleStoreService.FetchExamples][google.cloud.aiplatform.v1beta1.ExampleStoreService.FetchExamples].Protobuf type
google.cloud.aiplatform.v1beta1.FetchExamplesRequest| Modifier and Type | Class and Description |
|---|---|
static class |
FetchExamplesRequest.Builder
Request message for
[ExampleStoreService.FetchExamples][google.cloud.aiplatform.v1beta1.ExampleStoreService.FetchExamples].
|
static class |
FetchExamplesRequest.MetadataFilterCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
EXAMPLE_IDS_FIELD_NUMBER |
static int |
EXAMPLE_STORE_FIELD_NUMBER |
static int |
PAGE_SIZE_FIELD_NUMBER |
static int |
PAGE_TOKEN_FIELD_NUMBER |
static int |
STORED_CONTENTS_EXAMPLE_FILTER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static FetchExamplesRequest |
getDefaultInstance() |
FetchExamplesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getExampleIds(int index)
Optional.
|
com.google.protobuf.ByteString |
getExampleIdsBytes(int index)
Optional.
|
int |
getExampleIdsCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getExampleIdsList()
Optional.
|
String |
getExampleStore()
Required.
|
com.google.protobuf.ByteString |
getExampleStoreBytes()
Required.
|
FetchExamplesRequest.MetadataFilterCase |
getMetadataFilterCase() |
int |
getPageSize()
Optional.
|
String |
getPageToken()
Optional.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
Optional.
|
com.google.protobuf.Parser<FetchExamplesRequest> |
getParserForType() |
int |
getSerializedSize() |
StoredContentsExampleFilter |
getStoredContentsExampleFilter()
The metadata filters for StoredContentsExamples.
|
StoredContentsExampleFilterOrBuilder |
getStoredContentsExampleFilterOrBuilder()
The metadata filters for StoredContentsExamples.
|
int |
hashCode() |
boolean |
hasStoredContentsExampleFilter()
The metadata filters for StoredContentsExamples.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FetchExamplesRequest.Builder |
newBuilder() |
static FetchExamplesRequest.Builder |
newBuilder(FetchExamplesRequest prototype) |
FetchExamplesRequest.Builder |
newBuilderForType() |
protected FetchExamplesRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FetchExamplesRequest |
parseDelimitedFrom(InputStream input) |
static FetchExamplesRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FetchExamplesRequest |
parseFrom(byte[] data) |
static FetchExamplesRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FetchExamplesRequest |
parseFrom(ByteBuffer data) |
static FetchExamplesRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FetchExamplesRequest |
parseFrom(com.google.protobuf.ByteString data) |
static FetchExamplesRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FetchExamplesRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FetchExamplesRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FetchExamplesRequest |
parseFrom(InputStream input) |
static FetchExamplesRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FetchExamplesRequest> |
parser() |
FetchExamplesRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int STORED_CONTENTS_EXAMPLE_FILTER_FIELD_NUMBER
public static final int EXAMPLE_STORE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
public static final int EXAMPLE_IDS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public FetchExamplesRequest.MetadataFilterCase getMetadataFilterCase()
getMetadataFilterCase in interface FetchExamplesRequestOrBuilderpublic 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 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static FetchExamplesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FetchExamplesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FetchExamplesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FetchExamplesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FetchExamplesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FetchExamplesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FetchExamplesRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static FetchExamplesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FetchExamplesRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FetchExamplesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FetchExamplesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FetchExamplesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FetchExamplesRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FetchExamplesRequest.Builder newBuilder()
public static FetchExamplesRequest.Builder newBuilder(FetchExamplesRequest prototype)
public FetchExamplesRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FetchExamplesRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static FetchExamplesRequest getDefaultInstance()
public static com.google.protobuf.Parser<FetchExamplesRequest> parser()
public com.google.protobuf.Parser<FetchExamplesRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public FetchExamplesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.