- 3.56.0 (latest)
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class UpsertDatapointsRequest.Builder extends GeneratedMessageV3.Builder<UpsertDatapointsRequest.Builder> implements UpsertDatapointsRequestOrBuilder
Request message for IndexService.UpsertDatapoints
Protobuf type google.cloud.aiplatform.v1.UpsertDatapointsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpsertDatapointsRequest.BuilderImplements
UpsertDatapointsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDatapoints(Iterable<? extends IndexDatapoint> values)
public UpsertDatapointsRequest.Builder addAllDatapoints(Iterable<? extends IndexDatapoint> values)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1.IndexDatapoint> |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
addDatapoints(IndexDatapoint value)
public UpsertDatapointsRequest.Builder addDatapoints(IndexDatapoint value)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Parameter | |
---|---|
Name | Description |
value | IndexDatapoint |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
addDatapoints(IndexDatapoint.Builder builderForValue)
public UpsertDatapointsRequest.Builder addDatapoints(IndexDatapoint.Builder builderForValue)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Parameter | |
---|---|
Name | Description |
builderForValue | IndexDatapoint.Builder |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
addDatapoints(int index, IndexDatapoint value)
public UpsertDatapointsRequest.Builder addDatapoints(int index, IndexDatapoint value)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Parameters | |
---|---|
Name | Description |
index | int |
value | IndexDatapoint |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
addDatapoints(int index, IndexDatapoint.Builder builderForValue)
public UpsertDatapointsRequest.Builder addDatapoints(int index, IndexDatapoint.Builder builderForValue)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | IndexDatapoint.Builder |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
addDatapointsBuilder()
public IndexDatapoint.Builder addDatapointsBuilder()
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Returns | |
---|---|
Type | Description |
IndexDatapoint.Builder |
addDatapointsBuilder(int index)
public IndexDatapoint.Builder addDatapointsBuilder(int index)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
IndexDatapoint.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpsertDatapointsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
build()
public UpsertDatapointsRequest build()
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest |
buildPartial()
public UpsertDatapointsRequest buildPartial()
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest |
clear()
public UpsertDatapointsRequest.Builder clear()
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
clearDatapoints()
public UpsertDatapointsRequest.Builder clearDatapoints()
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpsertDatapointsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
clearIndex()
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) = { ... }
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpsertDatapointsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
clearUpdateMask()
public UpsertDatapointsRequest.Builder clearUpdateMask()
Optional. Update mask is used to specify the fields to be overwritten in the datapoints by the update. The fields specified in the update_mask are relative to each IndexDatapoint inside datapoints, not the full request.
Updatable fields:
- Use
all_restricts
to update both restricts and numeric_restricts.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
clone()
public UpsertDatapointsRequest.Builder clone()
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
getDatapoints(int index)
public IndexDatapoint getDatapoints(int index)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
IndexDatapoint |
getDatapointsBuilder(int index)
public IndexDatapoint.Builder getDatapointsBuilder(int index)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
IndexDatapoint.Builder |
getDatapointsBuilderList()
public List<IndexDatapoint.Builder> getDatapointsBuilderList()
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Returns | |
---|---|
Type | Description |
List<Builder> |
getDatapointsCount()
public int getDatapointsCount()
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Returns | |
---|---|
Type | Description |
int |
getDatapointsList()
public List<IndexDatapoint> getDatapointsList()
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Returns | |
---|---|
Type | Description |
List<IndexDatapoint> |
getDatapointsOrBuilder(int index)
public IndexDatapointOrBuilder getDatapointsOrBuilder(int index)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
IndexDatapointOrBuilder |
getDatapointsOrBuilderList()
public List<? extends IndexDatapointOrBuilder> getDatapointsOrBuilderList()
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.aiplatform.v1.IndexDatapointOrBuilder> |
getDefaultInstanceForType()
public UpsertDatapointsRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getIndex()
public String getIndex()
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. |
getIndexBytes()
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. |
getUpdateMask()
public FieldMask getUpdateMask()
Optional. Update mask is used to specify the fields to be overwritten in the datapoints by the update. The fields specified in the update_mask are relative to each IndexDatapoint inside datapoints, not the full request.
Updatable fields:
- Use
all_restricts
to update both restricts and numeric_restricts.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FieldMask | The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. Update mask is used to specify the fields to be overwritten in the datapoints by the update. The fields specified in the update_mask are relative to each IndexDatapoint inside datapoints, not the full request.
Updatable fields:
- Use
all_restricts
to update both restricts and numeric_restricts.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. Update mask is used to specify the fields to be overwritten in the datapoints by the update. The fields specified in the update_mask are relative to each IndexDatapoint inside datapoints, not the full request.
Updatable fields:
- Use
all_restricts
to update both restricts and numeric_restricts.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FieldMaskOrBuilder |
hasUpdateMask()
public boolean hasUpdateMask()
Optional. Update mask is used to specify the fields to be overwritten in the datapoints by the update. The fields specified in the update_mask are relative to each IndexDatapoint inside datapoints, not the full request.
Updatable fields:
- Use
all_restricts
to update both restricts and numeric_restricts.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(UpsertDatapointsRequest other)
public UpsertDatapointsRequest.Builder mergeFrom(UpsertDatapointsRequest other)
Parameter | |
---|---|
Name | Description |
other | UpsertDatapointsRequest |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpsertDatapointsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UpsertDatapointsRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpsertDatapointsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
mergeUpdateMask(FieldMask value)
public UpsertDatapointsRequest.Builder mergeUpdateMask(FieldMask value)
Optional. Update mask is used to specify the fields to be overwritten in the datapoints by the update. The fields specified in the update_mask are relative to each IndexDatapoint inside datapoints, not the full request.
Updatable fields:
- Use
all_restricts
to update both restricts and numeric_restricts.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | FieldMask |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
removeDatapoints(int index)
public UpsertDatapointsRequest.Builder removeDatapoints(int index)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
setDatapoints(int index, IndexDatapoint value)
public UpsertDatapointsRequest.Builder setDatapoints(int index, IndexDatapoint value)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Parameters | |
---|---|
Name | Description |
index | int |
value | IndexDatapoint |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
setDatapoints(int index, IndexDatapoint.Builder builderForValue)
public UpsertDatapointsRequest.Builder setDatapoints(int index, IndexDatapoint.Builder builderForValue)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | IndexDatapoint.Builder |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpsertDatapointsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
setIndex(String value)
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. |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder | This builder for chaining. |
setIndexBytes(ByteString value)
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. |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpsertDatapointsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpsertDatapointsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
setUpdateMask(FieldMask value)
public UpsertDatapointsRequest.Builder setUpdateMask(FieldMask value)
Optional. Update mask is used to specify the fields to be overwritten in the datapoints by the update. The fields specified in the update_mask are relative to each IndexDatapoint inside datapoints, not the full request.
Updatable fields:
- Use
all_restricts
to update both restricts and numeric_restricts.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | FieldMask |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |
setUpdateMask(FieldMask.Builder builderForValue)
public UpsertDatapointsRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. Update mask is used to specify the fields to be overwritten in the datapoints by the update. The fields specified in the update_mask are relative to each IndexDatapoint inside datapoints, not the full request.
Updatable fields:
- Use
all_restricts
to update both restricts and numeric_restricts.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
UpsertDatapointsRequest.Builder |