Class RemoveDatapointsRequest.Builder (3.16.0)

public static final class RemoveDatapointsRequest.Builder extends GeneratedMessageV3.Builder<RemoveDatapointsRequest.Builder> implements RemoveDatapointsRequestOrBuilder

Request message for IndexService.RemoveDatapoints

Protobuf type google.cloud.aiplatform.v1.RemoveDatapointsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllDatapointIds(Iterable<String> values)

public RemoveDatapointsRequest.Builder addAllDatapointIds(Iterable<String> values)

A list of datapoint ids to be deleted.

repeated string datapoint_ids = 2;

Parameter
NameDescription
valuesIterable<String>

The datapointIds to add.

Returns
TypeDescription
RemoveDatapointsRequest.Builder

This builder for chaining.

addDatapointIds(String value)

public RemoveDatapointsRequest.Builder addDatapointIds(String value)

A list of datapoint ids to be deleted.

repeated string datapoint_ids = 2;

Parameter
NameDescription
valueString

The datapointIds to add.

Returns
TypeDescription
RemoveDatapointsRequest.Builder

This builder for chaining.

addDatapointIdsBytes(ByteString value)

public RemoveDatapointsRequest.Builder addDatapointIdsBytes(ByteString value)

A list of datapoint ids to be deleted.

repeated string datapoint_ids = 2;

Parameter
NameDescription
valueByteString

The bytes of the datapointIds to add.

Returns
TypeDescription
RemoveDatapointsRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RemoveDatapointsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RemoveDatapointsRequest.Builder
Overrides

build()

public RemoveDatapointsRequest build()
Returns
TypeDescription
RemoveDatapointsRequest

buildPartial()

public RemoveDatapointsRequest buildPartial()
Returns
TypeDescription
RemoveDatapointsRequest

clear()

public RemoveDatapointsRequest.Builder clear()
Returns
TypeDescription
RemoveDatapointsRequest.Builder
Overrides

clearDatapointIds()

public RemoveDatapointsRequest.Builder clearDatapointIds()

A list of datapoint ids to be deleted.

repeated string datapoint_ids = 2;

Returns
TypeDescription
RemoveDatapointsRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RemoveDatapointsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RemoveDatapointsRequest.Builder
Overrides

clearIndex()

public RemoveDatapointsRequest.Builder clearIndex()

Required. The name of the Index resource to be updated. Format: projects/{project}/locations/{location}/indexes/{index}

string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
RemoveDatapointsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RemoveDatapointsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RemoveDatapointsRequest.Builder
Overrides

clone()

public RemoveDatapointsRequest.Builder clone()
Returns
TypeDescription
RemoveDatapointsRequest.Builder
Overrides

getDatapointIds(int index)

public String getDatapointIds(int index)

A list of datapoint ids to be deleted.

repeated string datapoint_ids = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The datapointIds at the given index.

getDatapointIdsBytes(int index)

public ByteString getDatapointIdsBytes(int index)

A list of datapoint ids to be deleted.

repeated string datapoint_ids = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the datapointIds at the given index.

getDatapointIdsCount()

public int getDatapointIdsCount()

A list of datapoint ids to be deleted.

repeated string datapoint_ids = 2;

Returns
TypeDescription
int

The count of datapointIds.

getDatapointIdsList()

public ProtocolStringList getDatapointIdsList()

A list of datapoint ids to be deleted.

repeated string datapoint_ids = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the datapointIds.

getDefaultInstanceForType()

public RemoveDatapointsRequest getDefaultInstanceForType()
Returns
TypeDescription
RemoveDatapointsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIndex()

public String getIndex()

Required. The name of the Index resource to be updated. Format: projects/{project}/locations/{location}/indexes/{index}

string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The index.

getIndexBytes()

public ByteString getIndexBytes()

Required. The name of the Index resource to be updated. Format: projects/{project}/locations/{location}/indexes/{index}

string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for index.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RemoveDatapointsRequest other)

public RemoveDatapointsRequest.Builder mergeFrom(RemoveDatapointsRequest other)
Parameter
NameDescription
otherRemoveDatapointsRequest
Returns
TypeDescription
RemoveDatapointsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RemoveDatapointsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveDatapointsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RemoveDatapointsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RemoveDatapointsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RemoveDatapointsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RemoveDatapointsRequest.Builder
Overrides

setDatapointIds(int index, String value)

public RemoveDatapointsRequest.Builder setDatapointIds(int index, String value)

A list of datapoint ids to be deleted.

repeated string datapoint_ids = 2;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The datapointIds to set.

Returns
TypeDescription
RemoveDatapointsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RemoveDatapointsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RemoveDatapointsRequest.Builder
Overrides

setIndex(String value)

public RemoveDatapointsRequest.Builder setIndex(String value)

Required. The name of the Index resource to be updated. Format: projects/{project}/locations/{location}/indexes/{index}

string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The index to set.

Returns
TypeDescription
RemoveDatapointsRequest.Builder

This builder for chaining.

setIndexBytes(ByteString value)

public RemoveDatapointsRequest.Builder setIndexBytes(ByteString value)

Required. The name of the Index resource to be updated. Format: projects/{project}/locations/{location}/indexes/{index}

string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for index to set.

Returns
TypeDescription
RemoveDatapointsRequest.Builder

This builder for chaining.

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

public RemoveDatapointsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RemoveDatapointsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RemoveDatapointsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RemoveDatapointsRequest.Builder
Overrides