Class UpsertDatapointsRequest (3.22.0)

public final class UpsertDatapointsRequest extends GeneratedMessageV3 implements UpsertDatapointsRequestOrBuilder

Request message for IndexService.UpsertDatapoints

Protobuf type google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest

Static Fields

DATAPOINTS_FIELD_NUMBER

public static final int DATAPOINTS_FIELD_NUMBER
Field Value
TypeDescription
int

INDEX_FIELD_NUMBER

public static final int INDEX_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpsertDatapointsRequest getDefaultInstance()
Returns
TypeDescription
UpsertDatapointsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpsertDatapointsRequest.Builder newBuilder()
Returns
TypeDescription
UpsertDatapointsRequest.Builder

newBuilder(UpsertDatapointsRequest prototype)

public static UpsertDatapointsRequest.Builder newBuilder(UpsertDatapointsRequest prototype)
Parameter
NameDescription
prototypeUpsertDatapointsRequest
Returns
TypeDescription
UpsertDatapointsRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpsertDatapointsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpsertDatapointsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpsertDatapointsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpsertDatapointsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpsertDatapointsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpsertDatapointsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpsertDatapointsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpsertDatapointsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpsertDatapointsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpsertDatapointsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpsertDatapointsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpsertDatapointsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpsertDatapointsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpsertDatapointsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpsertDatapointsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpsertDatapointsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpsertDatapointsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpsertDatapointsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpsertDatapointsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpsertDatapointsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpsertDatapointsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpsertDatapointsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpsertDatapointsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpsertDatapointsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpsertDatapointsRequest> parser()
Returns
TypeDescription
Parser<UpsertDatapointsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDatapoints(int index)

public IndexDatapoint getDatapoints(int index)

A list of datapoints to be created/updated.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
IndexDatapoint

getDatapointsCount()

public int getDatapointsCount()

A list of datapoints to be created/updated.

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

Returns
TypeDescription
int

getDatapointsList()

public List<IndexDatapoint> getDatapointsList()

A list of datapoints to be created/updated.

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

Returns
TypeDescription
List<IndexDatapoint>

getDatapointsOrBuilder(int index)

public IndexDatapointOrBuilder getDatapointsOrBuilder(int index)

A list of datapoints to be created/updated.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
IndexDatapointOrBuilder

getDatapointsOrBuilderList()

public List<? extends IndexDatapointOrBuilder> getDatapointsOrBuilderList()

A list of datapoints to be created/updated.

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

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.IndexDatapointOrBuilder>

getDefaultInstanceForType()

public UpsertDatapointsRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for index.

getParserForType()

public Parser<UpsertDatapointsRequest> getParserForType()
Returns
TypeDescription
Parser<UpsertDatapointsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpsertDatapointsRequest.Builder newBuilderForType()
Returns
TypeDescription
UpsertDatapointsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpsertDatapointsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpsertDatapointsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpsertDatapointsRequest.Builder toBuilder()
Returns
TypeDescription
UpsertDatapointsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException