Class RemoveExamplesRequest.Builder (3.64.0)

public static final class RemoveExamplesRequest.Builder extends GeneratedMessageV3.Builder<RemoveExamplesRequest.Builder> implements RemoveExamplesRequestOrBuilder

Request message for ExampleStoreService.RemoveExamples.

Protobuf type google.cloud.aiplatform.v1beta1.RemoveExamplesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllExampleIds(Iterable<String> values)

public RemoveExamplesRequest.Builder addAllExampleIds(Iterable<String> values)

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];

Parameter
Name Description
values Iterable<String>

The exampleIds to add.

Returns
Type Description
RemoveExamplesRequest.Builder

This builder for chaining.

addExampleIds(String value)

public RemoveExamplesRequest.Builder addExampleIds(String value)

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];

Parameter
Name Description
value String

The exampleIds to add.

Returns
Type Description
RemoveExamplesRequest.Builder

This builder for chaining.

addExampleIdsBytes(ByteString value)

public RemoveExamplesRequest.Builder addExampleIdsBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes of the exampleIds to add.

Returns
Type Description
RemoveExamplesRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RemoveExamplesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RemoveExamplesRequest.Builder
Overrides

build()

public RemoveExamplesRequest build()
Returns
Type Description
RemoveExamplesRequest

buildPartial()

public RemoveExamplesRequest buildPartial()
Returns
Type Description
RemoveExamplesRequest

clear()

public RemoveExamplesRequest.Builder clear()
Returns
Type Description
RemoveExamplesRequest.Builder
Overrides

clearExampleIds()

public RemoveExamplesRequest.Builder 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
Type Description
RemoveExamplesRequest.Builder

This builder for chaining.

clearExampleStore()

public RemoveExamplesRequest.Builder 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
Type Description
RemoveExamplesRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RemoveExamplesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RemoveExamplesRequest.Builder
Overrides

clearMetadataFilter()

public RemoveExamplesRequest.Builder clearMetadataFilter()
Returns
Type Description
RemoveExamplesRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RemoveExamplesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RemoveExamplesRequest.Builder
Overrides

clearStoredContentsExampleFilter()

public RemoveExamplesRequest.Builder clearStoredContentsExampleFilter()

The metadata filters for StoredContentsExamples.

.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;

Returns
Type Description
RemoveExamplesRequest.Builder

clone()

public RemoveExamplesRequest.Builder clone()
Returns
Type Description
RemoveExamplesRequest.Builder
Overrides

getDefaultInstanceForType()

public RemoveExamplesRequest getDefaultInstanceForType()
Returns
Type Description
RemoveExamplesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExampleIds(int index)

public String getExampleIds(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];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The exampleIds at the given index.

getExampleIdsBytes(int index)

public 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];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the exampleIds at the given index.

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];

Returns
Type Description
int

The count of exampleIds.

getExampleIdsList()

public 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];

Returns
Type Description
ProtocolStringList

A list containing the exampleIds.

getExampleStore()

public String 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) = { ... }

Returns
Type Description
String

The exampleStore.

getExampleStoreBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for exampleStore.

getMetadataFilterCase()

public RemoveExamplesRequest.MetadataFilterCase getMetadataFilterCase()
Returns
Type Description
RemoveExamplesRequest.MetadataFilterCase

getStoredContentsExampleFilter()

public StoredContentsExampleFilter getStoredContentsExampleFilter()

The metadata filters for StoredContentsExamples.

.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;

Returns
Type Description
StoredContentsExampleFilter

The storedContentsExampleFilter.

getStoredContentsExampleFilterBuilder()

public StoredContentsExampleFilter.Builder getStoredContentsExampleFilterBuilder()

The metadata filters for StoredContentsExamples.

.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;

Returns
Type Description
StoredContentsExampleFilter.Builder

getStoredContentsExampleFilterOrBuilder()

public StoredContentsExampleFilterOrBuilder getStoredContentsExampleFilterOrBuilder()

The metadata filters for StoredContentsExamples.

.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;

Returns
Type Description
StoredContentsExampleFilterOrBuilder

hasStoredContentsExampleFilter()

public boolean hasStoredContentsExampleFilter()

The metadata filters for StoredContentsExamples.

.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;

Returns
Type Description
boolean

Whether the storedContentsExampleFilter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RemoveExamplesRequest other)

public RemoveExamplesRequest.Builder mergeFrom(RemoveExamplesRequest other)
Parameter
Name Description
other RemoveExamplesRequest
Returns
Type Description
RemoveExamplesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RemoveExamplesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoveExamplesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RemoveExamplesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RemoveExamplesRequest.Builder
Overrides

mergeStoredContentsExampleFilter(StoredContentsExampleFilter value)

public RemoveExamplesRequest.Builder mergeStoredContentsExampleFilter(StoredContentsExampleFilter value)

The metadata filters for StoredContentsExamples.

.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;

Parameter
Name Description
value StoredContentsExampleFilter
Returns
Type Description
RemoveExamplesRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RemoveExamplesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RemoveExamplesRequest.Builder
Overrides

setExampleIds(int index, String value)

public RemoveExamplesRequest.Builder setExampleIds(int index, String value)

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
Name Description
index int

The index to set the value at.

value String

The exampleIds to set.

Returns
Type Description
RemoveExamplesRequest.Builder

This builder for chaining.

setExampleStore(String value)

public RemoveExamplesRequest.Builder setExampleStore(String value)

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) = { ... }

Parameter
Name Description
value String

The exampleStore to set.

Returns
Type Description
RemoveExamplesRequest.Builder

This builder for chaining.

setExampleStoreBytes(ByteString value)

public RemoveExamplesRequest.Builder setExampleStoreBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for exampleStore to set.

Returns
Type Description
RemoveExamplesRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RemoveExamplesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RemoveExamplesRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RemoveExamplesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RemoveExamplesRequest.Builder
Overrides

setStoredContentsExampleFilter(StoredContentsExampleFilter value)

public RemoveExamplesRequest.Builder setStoredContentsExampleFilter(StoredContentsExampleFilter value)

The metadata filters for StoredContentsExamples.

.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;

Parameter
Name Description
value StoredContentsExampleFilter
Returns
Type Description
RemoveExamplesRequest.Builder

setStoredContentsExampleFilter(StoredContentsExampleFilter.Builder builderForValue)

public RemoveExamplesRequest.Builder setStoredContentsExampleFilter(StoredContentsExampleFilter.Builder builderForValue)

The metadata filters for StoredContentsExamples.

.google.cloud.aiplatform.v1beta1.StoredContentsExampleFilter stored_contents_example_filter = 8;

Parameter
Name Description
builderForValue StoredContentsExampleFilter.Builder
Returns
Type Description
RemoveExamplesRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RemoveExamplesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RemoveExamplesRequest.Builder
Overrides