Class RemoveDatapointsRequest.Builder (3.56.0)

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

Request message for IndexService.RemoveDatapoints

Protobuf type google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
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
Name Description
values Iterable<String>

The datapointIds to add.

Returns
Type Description
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
Name Description
value String

The datapointIds to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the datapointIds to add.

Returns
Type Description
RemoveDatapointsRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RemoveDatapointsRequest build()
Returns
Type Description
RemoveDatapointsRequest

buildPartial()

public RemoveDatapointsRequest buildPartial()
Returns
Type Description
RemoveDatapointsRequest

clear()

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

clearDatapointIds()

public RemoveDatapointsRequest.Builder clearDatapointIds()

A list of datapoint ids to be deleted.

repeated string datapoint_ids = 2;

Returns
Type Description
RemoveDatapointsRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RemoveDatapointsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
RemoveDatapointsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public RemoveDatapointsRequest.Builder clone()
Returns
Type Description
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
Name Description
index int

The index of the element to return.

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

The index of the value to return.

Returns
Type Description
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
Type Description
int

The count of datapointIds.

getDatapointIdsList()

public ProtocolStringList getDatapointIdsList()

A list of datapoint ids to be deleted.

repeated string datapoint_ids = 2;

Returns
Type Description
ProtocolStringList

A list containing the datapointIds.

getDefaultInstanceForType()

public RemoveDatapointsRequest getDefaultInstanceForType()
Returns
Type Description
RemoveDatapointsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for index.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RemoveDatapointsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RemoveDatapointsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The datapointIds to set.

Returns
Type Description
RemoveDatapointsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RemoveDatapointsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The index to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for index to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RemoveDatapointsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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