Class RemoveExamplesResponse.Builder (3.84.0)

public static final class RemoveExamplesResponse.Builder extends GeneratedMessage.Builder<RemoveExamplesResponse.Builder> implements RemoveExamplesResponseOrBuilder

Response message for ExampleStoreService.RemoveExamples.

Protobuf type google.cloud.aiplatform.v1beta1.RemoveExamplesResponse

Static Methods

getDescriptor()

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

Methods

addAllExampleIds(Iterable<String> values)

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

The IDs for the removed examples.

repeated string example_ids = 1;

Parameter
Name Description
values Iterable<String>

The exampleIds to add.

Returns
Type Description
RemoveExamplesResponse.Builder

This builder for chaining.

addExampleIds(String value)

public RemoveExamplesResponse.Builder addExampleIds(String value)

The IDs for the removed examples.

repeated string example_ids = 1;

Parameter
Name Description
value String

The exampleIds to add.

Returns
Type Description
RemoveExamplesResponse.Builder

This builder for chaining.

addExampleIdsBytes(ByteString value)

public RemoveExamplesResponse.Builder addExampleIdsBytes(ByteString value)

The IDs for the removed examples.

repeated string example_ids = 1;

Parameter
Name Description
value ByteString

The bytes of the exampleIds to add.

Returns
Type Description
RemoveExamplesResponse.Builder

This builder for chaining.

build()

public RemoveExamplesResponse build()
Returns
Type Description
RemoveExamplesResponse

buildPartial()

public RemoveExamplesResponse buildPartial()
Returns
Type Description
RemoveExamplesResponse

clear()

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

clearExampleIds()

public RemoveExamplesResponse.Builder clearExampleIds()

The IDs for the removed examples.

repeated string example_ids = 1;

Returns
Type Description
RemoveExamplesResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public RemoveExamplesResponse getDefaultInstanceForType()
Returns
Type Description
RemoveExamplesResponse

getDescriptorForType()

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

getExampleIds(int index)

public String getExampleIds(int index)

The IDs for the removed examples.

repeated string example_ids = 1;

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)

The IDs for the removed examples.

repeated string example_ids = 1;

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()

The IDs for the removed examples.

repeated string example_ids = 1;

Returns
Type Description
int

The count of exampleIds.

getExampleIdsList()

public ProtocolStringList getExampleIdsList()

The IDs for the removed examples.

repeated string example_ids = 1;

Returns
Type Description
ProtocolStringList

A list containing the exampleIds.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RemoveExamplesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setExampleIds(int index, String value)

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

The IDs for the removed examples.

repeated string example_ids = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The exampleIds to set.

Returns
Type Description
RemoveExamplesResponse.Builder

This builder for chaining.