Interface UpsertDatapointsRequestOrBuilder (3.42.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.v1.IndexDatapoint datapoints = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
IndexDatapoint

getDatapointsCount()

public abstract int getDatapointsCount()

A list of datapoints to be created/updated.

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

Returns
TypeDescription
int

getDatapointsList()

public abstract List<IndexDatapoint> getDatapointsList()

A list of datapoints to be created/updated.

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

Returns
TypeDescription
List<IndexDatapoint>

getDatapointsOrBuilder(int index)

public abstract IndexDatapointOrBuilder getDatapointsOrBuilder(int index)

A list of datapoints to be created/updated.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
IndexDatapointOrBuilder

getDatapointsOrBuilderList()

public abstract List<? extends IndexDatapointOrBuilder> getDatapointsOrBuilderList()

A list of datapoints to be created/updated.

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

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.