Interface UpsertDatapointsRequestOrBuilder (3.44.0)

public interface UpsertDatapointsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDatapoints(int index)

public abstract 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
Returns
Type Description
IndexDatapoint

getDatapointsCount()

public abstract int getDatapointsCount()

A list of datapoints to be created/updated.

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

Returns
Type Description
int

getDatapointsList()

public abstract List<IndexDatapoint> getDatapointsList()

A list of datapoints to be created/updated.

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

Returns
Type Description
List<IndexDatapoint>

getDatapointsOrBuilder(int index)

public abstract 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
Returns
Type Description
IndexDatapointOrBuilder

getDatapointsOrBuilderList()

public abstract 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>

getIndex()

public abstract 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 abstract 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 abstract 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.

getUpdateMaskOrBuilder()

public abstract 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 abstract 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.