public static final class UpsertDatapointsRequest.Builder extends GeneratedMessageV3.Builder<UpsertDatapointsRequest.Builder> implements UpsertDatapointsRequestOrBuilder
Request message for
IndexService.UpsertDatapoints
Protobuf type google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest
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()
Methods
public UpsertDatapointsRequest.Builder addAllDatapoints(Iterable<? extends IndexDatapoint> values)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.IndexDatapoint>
|
public UpsertDatapointsRequest.Builder addDatapoints(IndexDatapoint value)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2;
public UpsertDatapointsRequest.Builder addDatapoints(IndexDatapoint.Builder builderForValue)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2;
public UpsertDatapointsRequest.Builder addDatapoints(int index, IndexDatapoint value)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2;
public UpsertDatapointsRequest.Builder addDatapoints(int index, IndexDatapoint.Builder builderForValue)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2;
public IndexDatapoint.Builder addDatapointsBuilder()
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2;
public IndexDatapoint.Builder addDatapointsBuilder(int index)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2;
Parameter |
Name |
Description |
index |
int
|
public UpsertDatapointsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpsertDatapointsRequest build()
public UpsertDatapointsRequest buildPartial()
public UpsertDatapointsRequest.Builder clear()
Overrides
public UpsertDatapointsRequest.Builder clearDatapoints()
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2;
public UpsertDatapointsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UpsertDatapointsRequest.Builder clearIndex()
Required. The name of the Index resource to be updated.
Format:
projects/{project}/locations/{location}/indexes/{index}
string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public UpsertDatapointsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public UpsertDatapointsRequest.Builder clone()
Overrides
public IndexDatapoint getDatapoints(int index)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2;
Parameter |
Name |
Description |
index |
int
|
public IndexDatapoint.Builder getDatapointsBuilder(int index)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2;
Parameter |
Name |
Description |
index |
int
|
public List<IndexDatapoint.Builder> getDatapointsBuilderList()
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2;
public int getDatapointsCount()
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2;
Returns |
Type |
Description |
int |
|
public List<IndexDatapoint> getDatapointsList()
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2;
public IndexDatapointOrBuilder getDatapointsOrBuilder(int index)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2;
Parameter |
Name |
Description |
index |
int
|
public List<? extends IndexDatapointOrBuilder> getDatapointsOrBuilderList()
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.aiplatform.v1beta1.IndexDatapointOrBuilder> |
|
public UpsertDatapointsRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
Required. The name of the Index resource to be updated.
Format:
projects/{project}/locations/{location}/indexes/{index}
string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The index.
|
public ByteString getIndexBytes()
Required. The name of the Index resource to be updated.
Format:
projects/{project}/locations/{location}/indexes/{index}
string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for index.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UpsertDatapointsRequest.Builder mergeFrom(UpsertDatapointsRequest other)
public UpsertDatapointsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpsertDatapointsRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final UpsertDatapointsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public UpsertDatapointsRequest.Builder removeDatapoints(int index)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2;
Parameter |
Name |
Description |
index |
int
|
public UpsertDatapointsRequest.Builder setDatapoints(int index, IndexDatapoint value)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2;
public UpsertDatapointsRequest.Builder setDatapoints(int index, IndexDatapoint.Builder builderForValue)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2;
public UpsertDatapointsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpsertDatapointsRequest.Builder setIndex(String value)
Required. The name of the Index resource to be updated.
Format:
projects/{project}/locations/{location}/indexes/{index}
string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The index to set.
|
public UpsertDatapointsRequest.Builder setIndexBytes(ByteString value)
Required. The name of the Index resource to be updated.
Format:
projects/{project}/locations/{location}/indexes/{index}
string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for index to set.
|
public UpsertDatapointsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UpsertDatapointsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides