Class ReadIndexDatapointsResponse.Builder (3.31.0)

public static final class ReadIndexDatapointsResponse.Builder extends GeneratedMessageV3.Builder<ReadIndexDatapointsResponse.Builder> implements ReadIndexDatapointsResponseOrBuilder

The response message for MatchService.ReadIndexDatapoints.

Protobuf type google.cloud.aiplatform.v1beta1.ReadIndexDatapointsResponse

Static Methods

getDescriptor()

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

Methods

addAllDatapoints(Iterable<? extends IndexDatapoint> values)

public ReadIndexDatapointsResponse.Builder addAllDatapoints(Iterable<? extends IndexDatapoint> values)

The result list of datapoints.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.IndexDatapoint>
Returns
TypeDescription
ReadIndexDatapointsResponse.Builder

addDatapoints(IndexDatapoint value)

public ReadIndexDatapointsResponse.Builder addDatapoints(IndexDatapoint value)

The result list of datapoints.

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

Parameter
NameDescription
valueIndexDatapoint
Returns
TypeDescription
ReadIndexDatapointsResponse.Builder

addDatapoints(IndexDatapoint.Builder builderForValue)

public ReadIndexDatapointsResponse.Builder addDatapoints(IndexDatapoint.Builder builderForValue)

The result list of datapoints.

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

Parameter
NameDescription
builderForValueIndexDatapoint.Builder
Returns
TypeDescription
ReadIndexDatapointsResponse.Builder

addDatapoints(int index, IndexDatapoint value)

public ReadIndexDatapointsResponse.Builder addDatapoints(int index, IndexDatapoint value)

The result list of datapoints.

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

Parameters
NameDescription
indexint
valueIndexDatapoint
Returns
TypeDescription
ReadIndexDatapointsResponse.Builder

addDatapoints(int index, IndexDatapoint.Builder builderForValue)

public ReadIndexDatapointsResponse.Builder addDatapoints(int index, IndexDatapoint.Builder builderForValue)

The result list of datapoints.

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

Parameters
NameDescription
indexint
builderForValueIndexDatapoint.Builder
Returns
TypeDescription
ReadIndexDatapointsResponse.Builder

addDatapointsBuilder()

public IndexDatapoint.Builder addDatapointsBuilder()

The result list of datapoints.

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

Returns
TypeDescription
IndexDatapoint.Builder

addDatapointsBuilder(int index)

public IndexDatapoint.Builder addDatapointsBuilder(int index)

The result list of datapoints.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
IndexDatapoint.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReadIndexDatapointsResponse build()
Returns
TypeDescription
ReadIndexDatapointsResponse

buildPartial()

public ReadIndexDatapointsResponse buildPartial()
Returns
TypeDescription
ReadIndexDatapointsResponse

clear()

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

clearDatapoints()

public ReadIndexDatapointsResponse.Builder clearDatapoints()

The result list of datapoints.

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

Returns
TypeDescription
ReadIndexDatapointsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDatapointsBuilder(int index)

public IndexDatapoint.Builder getDatapointsBuilder(int index)

The result list of datapoints.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
IndexDatapoint.Builder

getDatapointsBuilderList()

public List<IndexDatapoint.Builder> getDatapointsBuilderList()

The result list of datapoints.

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

Returns
TypeDescription
List<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReadIndexDatapointsResponse other)

public ReadIndexDatapointsResponse.Builder mergeFrom(ReadIndexDatapointsResponse other)
Parameter
NameDescription
otherReadIndexDatapointsResponse
Returns
TypeDescription
ReadIndexDatapointsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDatapoints(int index)

public ReadIndexDatapointsResponse.Builder removeDatapoints(int index)

The result list of datapoints.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ReadIndexDatapointsResponse.Builder

setDatapoints(int index, IndexDatapoint value)

public ReadIndexDatapointsResponse.Builder setDatapoints(int index, IndexDatapoint value)

The result list of datapoints.

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

Parameters
NameDescription
indexint
valueIndexDatapoint
Returns
TypeDescription
ReadIndexDatapointsResponse.Builder

setDatapoints(int index, IndexDatapoint.Builder builderForValue)

public ReadIndexDatapointsResponse.Builder setDatapoints(int index, IndexDatapoint.Builder builderForValue)

The result list of datapoints.

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

Parameters
NameDescription
indexint
builderForValueIndexDatapoint.Builder
Returns
TypeDescription
ReadIndexDatapointsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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