Class StoredContentsExampleFilter.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StoredContentsExampleFilter.Builder>
com.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter.Builder
- All Implemented Interfaces:
StoredContentsExampleFilterOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StoredContentsExampleFilter
public static final class StoredContentsExampleFilter.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StoredContentsExampleFilter.Builder>
implements StoredContentsExampleFilterOrBuilder
The metadata filters that will be used to remove or fetch StoredContentsExamples. If a field is unspecified, then no filtering for that field will be applied.Protobuf type
google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter-
Method Summary
Modifier and TypeMethodDescriptionaddAllSearchKeys(Iterable<String> values) Optional.addSearchKeys(String value) Optional.addSearchKeysBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.getSearchKeys(int index) Optional.com.google.protobuf.ByteStringgetSearchKeysBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.Optional.setFunctionNames(ExamplesArrayFilter.Builder builderForValue) Optional.setSearchKeys(int index, String value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StoredContentsExampleFilter.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StoredContentsExampleFilter.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StoredContentsExampleFilter.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StoredContentsExampleFilter.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StoredContentsExampleFilter.Builder>
-
mergeFrom
public StoredContentsExampleFilter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StoredContentsExampleFilter.Builder>- Throws:
IOException
-
getSearchKeysList
public com.google.protobuf.ProtocolStringList getSearchKeysList()Optional. The search keys for filtering. Only examples with one of the specified search keys ([StoredContentsExample.search_key][google.cloud.aiplatform.v1beta1.StoredContentsExample.search_key]) are eligible to be returned.
repeated string search_keys = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSearchKeysListin interfaceStoredContentsExampleFilterOrBuilder- Returns:
- A list containing the searchKeys.
-
getSearchKeysCount
public int getSearchKeysCount()Optional. The search keys for filtering. Only examples with one of the specified search keys ([StoredContentsExample.search_key][google.cloud.aiplatform.v1beta1.StoredContentsExample.search_key]) are eligible to be returned.
repeated string search_keys = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSearchKeysCountin interfaceStoredContentsExampleFilterOrBuilder- Returns:
- The count of searchKeys.
-
getSearchKeys
Optional. The search keys for filtering. Only examples with one of the specified search keys ([StoredContentsExample.search_key][google.cloud.aiplatform.v1beta1.StoredContentsExample.search_key]) are eligible to be returned.
repeated string search_keys = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSearchKeysin interfaceStoredContentsExampleFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The searchKeys at the given index.
-
getSearchKeysBytes
public com.google.protobuf.ByteString getSearchKeysBytes(int index) Optional. The search keys for filtering. Only examples with one of the specified search keys ([StoredContentsExample.search_key][google.cloud.aiplatform.v1beta1.StoredContentsExample.search_key]) are eligible to be returned.
repeated string search_keys = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSearchKeysBytesin interfaceStoredContentsExampleFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the searchKeys at the given index.
-
setSearchKeys
Optional. The search keys for filtering. Only examples with one of the specified search keys ([StoredContentsExample.search_key][google.cloud.aiplatform.v1beta1.StoredContentsExample.search_key]) are eligible to be returned.
repeated string search_keys = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The searchKeys to set.- Returns:
- This builder for chaining.
-
addSearchKeys
Optional. The search keys for filtering. Only examples with one of the specified search keys ([StoredContentsExample.search_key][google.cloud.aiplatform.v1beta1.StoredContentsExample.search_key]) are eligible to be returned.
repeated string search_keys = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The searchKeys to add.- Returns:
- This builder for chaining.
-
addAllSearchKeys
Optional. The search keys for filtering. Only examples with one of the specified search keys ([StoredContentsExample.search_key][google.cloud.aiplatform.v1beta1.StoredContentsExample.search_key]) are eligible to be returned.
repeated string search_keys = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The searchKeys to add.- Returns:
- This builder for chaining.
-
clearSearchKeys
Optional. The search keys for filtering. Only examples with one of the specified search keys ([StoredContentsExample.search_key][google.cloud.aiplatform.v1beta1.StoredContentsExample.search_key]) are eligible to be returned.
repeated string search_keys = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addSearchKeysBytes
Optional. The search keys for filtering. Only examples with one of the specified search keys ([StoredContentsExample.search_key][google.cloud.aiplatform.v1beta1.StoredContentsExample.search_key]) are eligible to be returned.
repeated string search_keys = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the searchKeys to add.- Returns:
- This builder for chaining.
-
hasFunctionNames
public boolean hasFunctionNames()Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasFunctionNamesin interfaceStoredContentsExampleFilterOrBuilder- Returns:
- Whether the functionNames field is set.
-
getFunctionNames
Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFunctionNamesin interfaceStoredContentsExampleFilterOrBuilder- Returns:
- The functionNames.
-
setFunctionNames
Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; -
setFunctionNames
public StoredContentsExampleFilter.Builder setFunctionNames(ExamplesArrayFilter.Builder builderForValue) Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; -
mergeFunctionNames
Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; -
clearFunctionNames
Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getFunctionNamesBuilder
Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getFunctionNamesOrBuilder
Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFunctionNamesOrBuilderin interfaceStoredContentsExampleFilterOrBuilder
-