Class ReadIndexDatapointsResponse.Builder (3.13.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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

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

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

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

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

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 Overrides

build()

public ReadIndexDatapointsResponse build()
Returns

buildPartial()

public ReadIndexDatapointsResponse buildPartial()
Returns

clear()

public ReadIndexDatapointsResponse.Builder clear()
Returns Overrides

clearDatapoints()

public ReadIndexDatapointsResponse.Builder clearDatapoints()

The result list of datapoints.

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

Returns

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReadIndexDatapointsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns 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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public ReadIndexDatapointsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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