Class RemoveDatapointsRequest (3.21.0)

public final class RemoveDatapointsRequest extends GeneratedMessageV3 implements RemoveDatapointsRequestOrBuilder

Request message for IndexService.RemoveDatapoints

Protobuf type google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest

Static Fields

DATAPOINT_IDS_FIELD_NUMBER

public static final int DATAPOINT_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

INDEX_FIELD_NUMBER

public static final int INDEX_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RemoveDatapointsRequest getDefaultInstance()
Returns
TypeDescription
RemoveDatapointsRequest

getDescriptor()

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

newBuilder()

public static RemoveDatapointsRequest.Builder newBuilder()
Returns
TypeDescription
RemoveDatapointsRequest.Builder

newBuilder(RemoveDatapointsRequest prototype)

public static RemoveDatapointsRequest.Builder newBuilder(RemoveDatapointsRequest prototype)
Parameter
NameDescription
prototypeRemoveDatapointsRequest
Returns
TypeDescription
RemoveDatapointsRequest.Builder

parseDelimitedFrom(InputStream input)

public static RemoveDatapointsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RemoveDatapointsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoveDatapointsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveDatapointsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RemoveDatapointsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RemoveDatapointsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RemoveDatapointsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveDatapointsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RemoveDatapointsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RemoveDatapointsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RemoveDatapointsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveDatapointsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RemoveDatapointsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RemoveDatapointsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoveDatapointsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveDatapointsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RemoveDatapointsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RemoveDatapointsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoveDatapointsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveDatapointsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RemoveDatapointsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RemoveDatapointsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RemoveDatapointsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveDatapointsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RemoveDatapointsRequest> parser()
Returns
TypeDescription
Parser<RemoveDatapointsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

getParserForType()

public Parser<RemoveDatapointsRequest> getParserForType()
Returns
TypeDescription
Parser<RemoveDatapointsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RemoveDatapointsRequest.Builder newBuilderForType()
Returns
TypeDescription
RemoveDatapointsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RemoveDatapointsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RemoveDatapointsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RemoveDatapointsRequest.Builder toBuilder()
Returns
TypeDescription
RemoveDatapointsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException