public final class UpsertDatapointsRequest extends GeneratedMessageV3 implements UpsertDatapointsRequestOrBuilder
Request message for
IndexService.UpsertDatapoints
Protobuf type google.cloud.aiplatform.v1.UpsertDatapointsRequest
Static Fields
public static final int DATAPOINTS_FIELD_NUMBER
Field Value
public static final int INDEX_FIELD_NUMBER
Field Value
Static Methods
public static UpsertDatapointsRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static UpsertDatapointsRequest.Builder newBuilder()
Returns
public static UpsertDatapointsRequest.Builder newBuilder(UpsertDatapointsRequest prototype)
Parameter
Returns
public static UpsertDatapointsRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpsertDatapointsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpsertDatapointsRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static UpsertDatapointsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpsertDatapointsRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static UpsertDatapointsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpsertDatapointsRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpsertDatapointsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpsertDatapointsRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpsertDatapointsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpsertDatapointsRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static UpsertDatapointsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<UpsertDatapointsRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public IndexDatapoint getDatapoints(int index)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Parameter
Returns
public int getDatapointsCount()
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Returns
public List<IndexDatapoint> getDatapointsList()
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Returns
public IndexDatapointOrBuilder getDatapointsOrBuilder(int index)
A list of datapoints to be created/updated.
repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;
Parameter
Returns
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> | |
public UpsertDatapointsRequest getDefaultInstanceForType()
Returns
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.
|
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
public Parser<UpsertDatapointsRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public UpsertDatapointsRequest.Builder newBuilderForType()
Returns
protected UpsertDatapointsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public UpsertDatapointsRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions