Class RemoveExamplesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RemoveExamplesRequest.Builder>
com.google.cloud.aiplatform.v1beta1.RemoveExamplesRequest.Builder
- All Implemented Interfaces:
RemoveExamplesRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RemoveExamplesRequest
public static final class RemoveExamplesRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RemoveExamplesRequest.Builder>
implements RemoveExamplesRequestOrBuilder
Request message for [ExampleStoreService.RemoveExamples][google.cloud.aiplatform.v1beta1.ExampleStoreService.RemoveExamples].Protobuf type
google.cloud.aiplatform.v1beta1.RemoveExamplesRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllExampleIds(Iterable<String> values) Optional.addExampleIds(String value) Optional.addExampleIdsBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Required.The metadata filters for StoredContentsExamples.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExampleIds(int index) Optional.com.google.protobuf.ByteStringgetExampleIdsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Required.com.google.protobuf.ByteStringRequired.The metadata filters for StoredContentsExamples.The metadata filters for StoredContentsExamples.The metadata filters for StoredContentsExamples.booleanThe metadata filters for StoredContentsExamples.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(RemoveExamplesRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The metadata filters for StoredContentsExamples.setExampleIds(int index, String value) Optional.setExampleStore(String value) Required.setExampleStoreBytes(com.google.protobuf.ByteString value) Required.The metadata filters for StoredContentsExamples.setStoredContentsExampleFilter(StoredContentsExampleFilter.Builder builderForValue) The metadata filters for StoredContentsExamples.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<RemoveExamplesRequest.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<RemoveExamplesRequest.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<RemoveExamplesRequest.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<RemoveExamplesRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RemoveExamplesRequest.Builder>
-
mergeFrom
public RemoveExamplesRequest.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<RemoveExamplesRequest.Builder>- Throws:
IOException
-
getMetadataFilterCase
- Specified by:
getMetadataFilterCasein interfaceRemoveExamplesRequestOrBuilder
-
clearMetadataFilter
-
hasStoredContentsExampleFilter
public boolean hasStoredContentsExampleFilter()The metadata filters for StoredContentsExamples.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;- Specified by:
hasStoredContentsExampleFilterin interfaceRemoveExamplesRequestOrBuilder- Returns:
- Whether the storedContentsExampleFilter field is set.
-
getStoredContentsExampleFilter
The metadata filters for StoredContentsExamples.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;- Specified by:
getStoredContentsExampleFilterin interfaceRemoveExamplesRequestOrBuilder- Returns:
- The storedContentsExampleFilter.
-
setStoredContentsExampleFilter
public RemoveExamplesRequest.Builder setStoredContentsExampleFilter(StoredContentsExampleFilter value) The metadata filters for StoredContentsExamples.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8; -
setStoredContentsExampleFilter
public RemoveExamplesRequest.Builder setStoredContentsExampleFilter(StoredContentsExampleFilter.Builder builderForValue) The metadata filters for StoredContentsExamples.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8; -
mergeStoredContentsExampleFilter
public RemoveExamplesRequest.Builder mergeStoredContentsExampleFilter(StoredContentsExampleFilter value) The metadata filters for StoredContentsExamples.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8; -
clearStoredContentsExampleFilter
The metadata filters for StoredContentsExamples.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8; -
getStoredContentsExampleFilterBuilder
The metadata filters for StoredContentsExamples.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8; -
getStoredContentsExampleFilterOrBuilder
The metadata filters for StoredContentsExamples.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;- Specified by:
getStoredContentsExampleFilterOrBuilderin interfaceRemoveExamplesRequestOrBuilder
-
getExampleStore
Required. The name of the ExampleStore resource that the examples should be removed from. Format: `projects/{project}/locations/{location}/exampleStores/{example_store}`string example_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getExampleStorein interfaceRemoveExamplesRequestOrBuilder- Returns:
- The exampleStore.
-
getExampleStoreBytes
public com.google.protobuf.ByteString getExampleStoreBytes()Required. The name of the ExampleStore resource that the examples should be removed from. Format: `projects/{project}/locations/{location}/exampleStores/{example_store}`string example_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getExampleStoreBytesin interfaceRemoveExamplesRequestOrBuilder- Returns:
- The bytes for exampleStore.
-
setExampleStore
Required. The name of the ExampleStore resource that the examples should be removed from. Format: `projects/{project}/locations/{location}/exampleStores/{example_store}`string example_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The exampleStore to set.- Returns:
- This builder for chaining.
-
clearExampleStore
Required. The name of the ExampleStore resource that the examples should be removed from. Format: `projects/{project}/locations/{location}/exampleStores/{example_store}`string example_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setExampleStoreBytes
Required. The name of the ExampleStore resource that the examples should be removed from. Format: `projects/{project}/locations/{location}/exampleStores/{example_store}`string example_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for exampleStore to set.- Returns:
- This builder for chaining.
-
getExampleIdsList
public com.google.protobuf.ProtocolStringList getExampleIdsList()Optional. Example IDs to remove. If both metadata filters and Example IDs are specified, the metadata filters will be applied to the specified examples in order to identify which should be removed.
repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExampleIdsListin interfaceRemoveExamplesRequestOrBuilder- Returns:
- A list containing the exampleIds.
-
getExampleIdsCount
public int getExampleIdsCount()Optional. Example IDs to remove. If both metadata filters and Example IDs are specified, the metadata filters will be applied to the specified examples in order to identify which should be removed.
repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExampleIdsCountin interfaceRemoveExamplesRequestOrBuilder- Returns:
- The count of exampleIds.
-
getExampleIds
Optional. Example IDs to remove. If both metadata filters and Example IDs are specified, the metadata filters will be applied to the specified examples in order to identify which should be removed.
repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExampleIdsin interfaceRemoveExamplesRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The exampleIds at the given index.
-
getExampleIdsBytes
public com.google.protobuf.ByteString getExampleIdsBytes(int index) Optional. Example IDs to remove. If both metadata filters and Example IDs are specified, the metadata filters will be applied to the specified examples in order to identify which should be removed.
repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExampleIdsBytesin interfaceRemoveExamplesRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the exampleIds at the given index.
-
setExampleIds
Optional. Example IDs to remove. If both metadata filters and Example IDs are specified, the metadata filters will be applied to the specified examples in order to identify which should be removed.
repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The exampleIds to set.- Returns:
- This builder for chaining.
-
addExampleIds
Optional. Example IDs to remove. If both metadata filters and Example IDs are specified, the metadata filters will be applied to the specified examples in order to identify which should be removed.
repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The exampleIds to add.- Returns:
- This builder for chaining.
-
addAllExampleIds
Optional. Example IDs to remove. If both metadata filters and Example IDs are specified, the metadata filters will be applied to the specified examples in order to identify which should be removed.
repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The exampleIds to add.- Returns:
- This builder for chaining.
-
clearExampleIds
Optional. Example IDs to remove. If both metadata filters and Example IDs are specified, the metadata filters will be applied to the specified examples in order to identify which should be removed.
repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addExampleIdsBytes
Optional. Example IDs to remove. If both metadata filters and Example IDs are specified, the metadata filters will be applied to the specified examples in order to identify which should be removed.
repeated string example_ids = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the exampleIds to add.- Returns:
- This builder for chaining.
-