Class ReadIndexDatapointsResponse (3.38.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReadIndexDatapointsResponse getDefaultInstance()
Returns
TypeDescription
ReadIndexDatapointsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ReadIndexDatapointsResponse prototype)

public static ReadIndexDatapointsResponse.Builder newBuilder(ReadIndexDatapointsResponse prototype)
Parameter
NameDescription
prototypeReadIndexDatapointsResponse
Returns
TypeDescription
ReadIndexDatapointsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDatapoints(int index)

public IndexDatapoint getDatapoints(int index)

The result list of datapoints.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
IndexDatapoint

getDatapointsCount()

public int getDatapointsCount()

The result list of datapoints.

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

Returns
TypeDescription
int

getDatapointsList()

public List<IndexDatapoint> getDatapointsList()

The result list of datapoints.

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

Returns
TypeDescription
List<IndexDatapoint>

getDatapointsOrBuilder(int index)

public IndexDatapointOrBuilder getDatapointsOrBuilder(int index)

The result list of datapoints.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
IndexDatapointOrBuilder

getDatapointsOrBuilderList()

public List<? extends IndexDatapointOrBuilder> getDatapointsOrBuilderList()

The result list of datapoints.

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

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

getDefaultInstanceForType()

public ReadIndexDatapointsResponse getDefaultInstanceForType()
Returns
TypeDescription
ReadIndexDatapointsResponse

getParserForType()

public Parser<ReadIndexDatapointsResponse> getParserForType()
Returns
TypeDescription
Parser<ReadIndexDatapointsResponse>
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 ReadIndexDatapointsResponse.Builder newBuilderForType()
Returns
TypeDescription
ReadIndexDatapointsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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