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
Inherited Members
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
public ReadIndexDatapointsResponse.Builder addDatapoints(IndexDatapoint value)
The result list of datapoints.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;
Parameter
Returns
public ReadIndexDatapointsResponse.Builder addDatapoints(IndexDatapoint.Builder builderForValue)
The result list of datapoints.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;
Parameter
Returns
public ReadIndexDatapointsResponse.Builder addDatapoints(int index, IndexDatapoint value)
The result list of datapoints.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;
Parameters
Returns
public ReadIndexDatapointsResponse.Builder addDatapoints(int index, IndexDatapoint.Builder builderForValue)
The result list of datapoints.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;
Parameters
Returns
public IndexDatapoint.Builder addDatapointsBuilder()
The result list of datapoints.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;
Returns
public IndexDatapoint.Builder addDatapointsBuilder(int index)
The result list of datapoints.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;
Parameter
Returns
public ReadIndexDatapointsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ReadIndexDatapointsResponse build()
Returns
public ReadIndexDatapointsResponse buildPartial()
Returns
public ReadIndexDatapointsResponse.Builder clear()
Returns
Overrides
public ReadIndexDatapointsResponse.Builder clearDatapoints()
The result list of datapoints.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;
Returns
public ReadIndexDatapointsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ReadIndexDatapointsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ReadIndexDatapointsResponse.Builder clone()
Returns
Overrides
public IndexDatapoint getDatapoints(int index)
The result list of datapoints.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;
Parameter
Returns
public IndexDatapoint.Builder getDatapointsBuilder(int index)
The result list of datapoints.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;
Parameter
Returns
public List<IndexDatapoint.Builder> getDatapointsBuilderList()
The result list of datapoints.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;
Returns
public int getDatapointsCount()
The result list of datapoints.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;
Returns
public List<IndexDatapoint> getDatapointsList()
The result list of datapoints.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;
Returns
public IndexDatapointOrBuilder getDatapointsOrBuilder(int index)
The result list of datapoints.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;
Parameter
Returns
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> | |
public ReadIndexDatapointsResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ReadIndexDatapointsResponse.Builder mergeFrom(ReadIndexDatapointsResponse other)
Parameter
Returns
public ReadIndexDatapointsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ReadIndexDatapointsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ReadIndexDatapointsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ReadIndexDatapointsResponse.Builder removeDatapoints(int index)
The result list of datapoints.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;
Parameter
Returns
public ReadIndexDatapointsResponse.Builder setDatapoints(int index, IndexDatapoint value)
The result list of datapoints.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;
Parameters
Returns
public ReadIndexDatapointsResponse.Builder setDatapoints(int index, IndexDatapoint.Builder builderForValue)
The result list of datapoints.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 1;
Parameters
Returns
public ReadIndexDatapointsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ReadIndexDatapointsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ReadIndexDatapointsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides