Package com.google.cloud.aiplatform.v1
Interface UpsertDatapointsRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpsertDatapointsRequest,UpsertDatapointsRequest.Builder
@Generated
public interface UpsertDatapointsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDatapoints(int index) A list of datapoints to be created/updated.intA list of datapoints to be created/updated.A list of datapoints to be created/updated.getDatapointsOrBuilder(int index) A list of datapoints to be created/updated.List<? extends IndexDatapointOrBuilder>A list of datapoints to be created/updated.getIndex()Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.FieldMaskOptional.com.google.protobuf.FieldMaskOrBuilderOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getIndex
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:
- The index.
-
getIndexBytes
com.google.protobuf.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:
- The bytes for index.
-
getDatapointsList
List<IndexDatapoint> getDatapointsList()A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; -
getDatapoints
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; -
getDatapointsCount
int getDatapointsCount()A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; -
getDatapointsOrBuilderList
List<? extends IndexDatapointOrBuilder> getDatapointsOrBuilderList()A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; -
getDatapointsOrBuilder
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; -
hasUpdateMask
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:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.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:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.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];
-