Class BatchImportEvaluatedAnnotationsRequest (3.21.0)

public final class BatchImportEvaluatedAnnotationsRequest extends GeneratedMessageV3 implements BatchImportEvaluatedAnnotationsRequestOrBuilder

Request message for ModelService.BatchImportEvaluatedAnnotations

Protobuf type google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BatchImportEvaluatedAnnotationsRequest

Static Fields

EVALUATED_ANNOTATIONS_FIELD_NUMBER

public static final int EVALUATED_ANNOTATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchImportEvaluatedAnnotationsRequest getDefaultInstance()
Returns
TypeDescription
BatchImportEvaluatedAnnotationsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(BatchImportEvaluatedAnnotationsRequest prototype)

public static BatchImportEvaluatedAnnotationsRequest.Builder newBuilder(BatchImportEvaluatedAnnotationsRequest prototype)
Parameter
NameDescription
prototypeBatchImportEvaluatedAnnotationsRequest
Returns
TypeDescription
BatchImportEvaluatedAnnotationsRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchImportEvaluatedAnnotationsRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchImportEvaluatedAnnotationsRequest

getEvaluatedAnnotations(int index)

public EvaluatedAnnotation getEvaluatedAnnotations(int index)

Required. Evaluated annotations resource to be imported.

repeated .google.cloud.aiplatform.v1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
EvaluatedAnnotation

getEvaluatedAnnotationsCount()

public int getEvaluatedAnnotationsCount()

Required. Evaluated annotations resource to be imported.

repeated .google.cloud.aiplatform.v1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getEvaluatedAnnotationsList()

public List<EvaluatedAnnotation> getEvaluatedAnnotationsList()

Required. Evaluated annotations resource to be imported.

repeated .google.cloud.aiplatform.v1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<EvaluatedAnnotation>

getEvaluatedAnnotationsOrBuilder(int index)

public EvaluatedAnnotationOrBuilder getEvaluatedAnnotationsOrBuilder(int index)

Required. Evaluated annotations resource to be imported.

repeated .google.cloud.aiplatform.v1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
EvaluatedAnnotationOrBuilder

getEvaluatedAnnotationsOrBuilderList()

public List<? extends EvaluatedAnnotationOrBuilder> getEvaluatedAnnotationsOrBuilderList()

Required. Evaluated annotations resource to be imported.

repeated .google.cloud.aiplatform.v1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.EvaluatedAnnotationOrBuilder>

getParent()

public String getParent()

Required. The name of the parent ModelEvaluationSlice resource. Format: projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the parent ModelEvaluationSlice resource. Format: projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<BatchImportEvaluatedAnnotationsRequest> getParserForType()
Returns
TypeDescription
Parser<BatchImportEvaluatedAnnotationsRequest>
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 BatchImportEvaluatedAnnotationsRequest.Builder newBuilderForType()
Returns
TypeDescription
BatchImportEvaluatedAnnotationsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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