Class ReadIndexDatapointsResponse.Builder (3.53.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.IndexDatapoint>
Returns
Type Description
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
Name Description
value IndexDatapoint
Returns
Type Description
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
Name Description
builderForValue IndexDatapoint.Builder
Returns
Type Description
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
Name Description
index int
value IndexDatapoint
Returns
Type Description
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
Name Description
index int
builderForValue IndexDatapoint.Builder
Returns
Type Description
ReadIndexDatapointsResponse.Builder

addDatapointsBuilder()

public IndexDatapoint.Builder addDatapointsBuilder()

The result list of datapoints.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReadIndexDatapointsResponse build()
Returns
Type Description
ReadIndexDatapointsResponse

buildPartial()

public ReadIndexDatapointsResponse buildPartial()
Returns
Type Description
ReadIndexDatapointsResponse

clear()

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

clearDatapoints()

public ReadIndexDatapointsResponse.Builder clearDatapoints()

The result list of datapoints.

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

Returns
Type Description
ReadIndexDatapointsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ReadIndexDatapointsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReadIndexDatapointsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDatapointsBuilder(int index)

public IndexDatapoint.Builder getDatapointsBuilder(int index)

The result list of datapoints.

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

Parameter
Name Description
index int
Returns
Type Description
IndexDatapoint.Builder

getDatapointsBuilderList()

public List<IndexDatapoint.Builder> getDatapointsBuilderList()

The result list of datapoints.

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

Returns
Type Description
List<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReadIndexDatapointsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ReadIndexDatapointsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReadIndexDatapointsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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