Class ReadIndexDatapointsResponse (3.43.0)

public final class ReadIndexDatapointsResponse extends GeneratedMessageV3 implements ReadIndexDatapointsResponseOrBuilder

The response message for MatchService.ReadIndexDatapoints.

Protobuf type google.cloud.aiplatform.v1beta1.ReadIndexDatapointsResponse

Static Fields

DATAPOINTS_FIELD_NUMBER

public static final int DATAPOINTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReadIndexDatapointsResponse getDefaultInstance()
Returns
Type Description
ReadIndexDatapointsResponse

getDescriptor()

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

newBuilder()

public static ReadIndexDatapointsResponse.Builder newBuilder()
Returns
Type Description
ReadIndexDatapointsResponse.Builder

newBuilder(ReadIndexDatapointsResponse prototype)

public static ReadIndexDatapointsResponse.Builder newBuilder(ReadIndexDatapointsResponse prototype)
Parameter
Name Description
prototype ReadIndexDatapointsResponse
Returns
Type Description
ReadIndexDatapointsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ReadIndexDatapointsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReadIndexDatapointsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReadIndexDatapointsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReadIndexDatapointsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReadIndexDatapointsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReadIndexDatapointsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReadIndexDatapointsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReadIndexDatapointsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReadIndexDatapointsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReadIndexDatapointsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReadIndexDatapointsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReadIndexDatapointsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReadIndexDatapointsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReadIndexDatapointsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReadIndexDatapointsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReadIndexDatapointsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReadIndexDatapointsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReadIndexDatapointsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReadIndexDatapointsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReadIndexDatapointsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReadIndexDatapointsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReadIndexDatapointsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReadIndexDatapointsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReadIndexDatapointsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReadIndexDatapointsResponse> parser()
Returns
Type Description
Parser<ReadIndexDatapointsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDatapoints(int index)

public IndexDatapoint getDatapoints(int index)

The result list of datapoints.

repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;

Parameter
Name Description
index int
Returns
Type Description
IndexDatapoint

getDatapointsCount()

public int getDatapointsCount()

The result list of datapoints.

repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;

Returns
Type Description
int

getDatapointsList()

public List<IndexDatapoint> getDatapointsList()

The result list of datapoints.

repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;

Returns
Type Description
List<IndexDatapoint>

getDatapointsOrBuilder(int index)

public IndexDatapointOrBuilder getDatapointsOrBuilder(int index)

The result list of datapoints.

repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;

Parameter
Name Description
index int
Returns
Type Description
IndexDatapointOrBuilder

getDatapointsOrBuilderList()

public List<? extends IndexDatapointOrBuilder> getDatapointsOrBuilderList()

The result list of datapoints.

repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.IndexDatapointOrBuilder>

getDefaultInstanceForType()

public ReadIndexDatapointsResponse getDefaultInstanceForType()
Returns
Type Description
ReadIndexDatapointsResponse

getParserForType()

public Parser<ReadIndexDatapointsResponse> getParserForType()
Returns
Type Description
Parser<ReadIndexDatapointsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReadIndexDatapointsResponse.Builder newBuilderForType()
Returns
Type Description
ReadIndexDatapointsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReadIndexDatapointsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReadIndexDatapointsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReadIndexDatapointsResponse.Builder toBuilder()
Returns
Type Description
ReadIndexDatapointsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException