Class UpsertDatapointsRequest (3.43.0)

public final class UpsertDatapointsRequest extends GeneratedMessageV3 implements UpsertDatapointsRequestOrBuilder

Request message for IndexService.UpsertDatapoints

Protobuf type google.cloud.aiplatform.v1.UpsertDatapointsRequest

Static Fields

DATAPOINTS_FIELD_NUMBER

public static final int DATAPOINTS_FIELD_NUMBER
Field Value
Type Description
int

INDEX_FIELD_NUMBER

public static final int INDEX_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpsertDatapointsRequest getDefaultInstance()
Returns
Type Description
UpsertDatapointsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpsertDatapointsRequest.Builder newBuilder()
Returns
Type Description
UpsertDatapointsRequest.Builder

newBuilder(UpsertDatapointsRequest prototype)

public static UpsertDatapointsRequest.Builder newBuilder(UpsertDatapointsRequest prototype)
Parameter
Name Description
prototype UpsertDatapointsRequest
Returns
Type Description
UpsertDatapointsRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpsertDatapointsRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpsertDatapointsRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpsertDatapointsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpsertDatapointsRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpsertDatapointsRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpsertDatapointsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpsertDatapointsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpsertDatapointsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpsertDatapointsRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpsertDatapointsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpsertDatapointsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpsertDatapointsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpsertDatapointsRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpsertDatapointsRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpsertDatapointsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpsertDatapointsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpsertDatapointsRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpsertDatapointsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpsertDatapointsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpsertDatapointsRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpsertDatapointsRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpsertDatapointsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpsertDatapointsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpsertDatapointsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpsertDatapointsRequest> parser()
Returns
Type Description
Parser<UpsertDatapointsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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

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.

getParserForType()

public Parser<UpsertDatapointsRequest> getParserForType()
Returns
Type Description
Parser<UpsertDatapointsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpsertDatapointsRequest.Builder newBuilderForType()
Returns
Type Description
UpsertDatapointsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpsertDatapointsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpsertDatapointsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpsertDatapointsRequest.Builder toBuilder()
Returns
Type Description
UpsertDatapointsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException