Class BatchImportEvaluatedAnnotationsRequest.Builder (3.54.0)

public static final class BatchImportEvaluatedAnnotationsRequest.Builder extends GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder> implements BatchImportEvaluatedAnnotationsRequestOrBuilder

Request message for ModelService.BatchImportEvaluatedAnnotations

Protobuf type google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsRequest

Static Methods

getDescriptor()

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

Methods

addAllEvaluatedAnnotations(Iterable<? extends EvaluatedAnnotation> values)

public BatchImportEvaluatedAnnotationsRequest.Builder addAllEvaluatedAnnotations(Iterable<? extends EvaluatedAnnotation> values)

Required. Evaluated annotations resource to be imported.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.EvaluatedAnnotation>
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder

addEvaluatedAnnotations(EvaluatedAnnotation value)

public BatchImportEvaluatedAnnotationsRequest.Builder addEvaluatedAnnotations(EvaluatedAnnotation value)

Required. Evaluated annotations resource to be imported.

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

Parameter
Name Description
value EvaluatedAnnotation
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder

addEvaluatedAnnotations(EvaluatedAnnotation.Builder builderForValue)

public BatchImportEvaluatedAnnotationsRequest.Builder addEvaluatedAnnotations(EvaluatedAnnotation.Builder builderForValue)

Required. Evaluated annotations resource to be imported.

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

Parameter
Name Description
builderForValue EvaluatedAnnotation.Builder
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder

addEvaluatedAnnotations(int index, EvaluatedAnnotation value)

public BatchImportEvaluatedAnnotationsRequest.Builder addEvaluatedAnnotations(int index, EvaluatedAnnotation value)

Required. Evaluated annotations resource to be imported.

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

Parameters
Name Description
index int
value EvaluatedAnnotation
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder

addEvaluatedAnnotations(int index, EvaluatedAnnotation.Builder builderForValue)

public BatchImportEvaluatedAnnotationsRequest.Builder addEvaluatedAnnotations(int index, EvaluatedAnnotation.Builder builderForValue)

Required. Evaluated annotations resource to be imported.

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

Parameters
Name Description
index int
builderForValue EvaluatedAnnotation.Builder
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder

addEvaluatedAnnotationsBuilder()

public EvaluatedAnnotation.Builder addEvaluatedAnnotationsBuilder()

Required. Evaluated annotations resource to be imported.

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

Returns
Type Description
EvaluatedAnnotation.Builder

addEvaluatedAnnotationsBuilder(int index)

public EvaluatedAnnotation.Builder addEvaluatedAnnotationsBuilder(int index)

Required. Evaluated annotations resource to be imported.

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

Parameter
Name Description
index int
Returns
Type Description
EvaluatedAnnotation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchImportEvaluatedAnnotationsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder
Overrides

build()

public BatchImportEvaluatedAnnotationsRequest build()
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest

buildPartial()

public BatchImportEvaluatedAnnotationsRequest buildPartial()
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest

clear()

public BatchImportEvaluatedAnnotationsRequest.Builder clear()
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder
Overrides

clearEvaluatedAnnotations()

public BatchImportEvaluatedAnnotationsRequest.Builder clearEvaluatedAnnotations()

Required. Evaluated annotations resource to be imported.

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

Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public BatchImportEvaluatedAnnotationsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchImportEvaluatedAnnotationsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder
Overrides

clearParent()

public BatchImportEvaluatedAnnotationsRequest.Builder clearParent()

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
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder

This builder for chaining.

clone()

public BatchImportEvaluatedAnnotationsRequest.Builder clone()
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder
Overrides

getDefaultInstanceForType()

public BatchImportEvaluatedAnnotationsRequest getDefaultInstanceForType()
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Name Description
index int
Returns
Type Description
EvaluatedAnnotation

getEvaluatedAnnotationsBuilder(int index)

public EvaluatedAnnotation.Builder getEvaluatedAnnotationsBuilder(int index)

Required. Evaluated annotations resource to be imported.

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

Parameter
Name Description
index int
Returns
Type Description
EvaluatedAnnotation.Builder

getEvaluatedAnnotationsBuilderList()

public List<EvaluatedAnnotation.Builder> getEvaluatedAnnotationsBuilderList()

Required. Evaluated annotations resource to be imported.

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

Returns
Type Description
List<Builder>

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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchImportEvaluatedAnnotationsRequest other)

public BatchImportEvaluatedAnnotationsRequest.Builder mergeFrom(BatchImportEvaluatedAnnotationsRequest other)
Parameter
Name Description
other BatchImportEvaluatedAnnotationsRequest
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchImportEvaluatedAnnotationsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchImportEvaluatedAnnotationsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchImportEvaluatedAnnotationsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder
Overrides

removeEvaluatedAnnotations(int index)

public BatchImportEvaluatedAnnotationsRequest.Builder removeEvaluatedAnnotations(int index)

Required. Evaluated annotations resource to be imported.

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

Parameter
Name Description
index int
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder

setEvaluatedAnnotations(int index, EvaluatedAnnotation value)

public BatchImportEvaluatedAnnotationsRequest.Builder setEvaluatedAnnotations(int index, EvaluatedAnnotation value)

Required. Evaluated annotations resource to be imported.

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

Parameters
Name Description
index int
value EvaluatedAnnotation
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder

setEvaluatedAnnotations(int index, EvaluatedAnnotation.Builder builderForValue)

public BatchImportEvaluatedAnnotationsRequest.Builder setEvaluatedAnnotations(int index, EvaluatedAnnotation.Builder builderForValue)

Required. Evaluated annotations resource to be imported.

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

Parameters
Name Description
index int
builderForValue EvaluatedAnnotation.Builder
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchImportEvaluatedAnnotationsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder
Overrides

setParent(String value)

public BatchImportEvaluatedAnnotationsRequest.Builder setParent(String value)

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) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchImportEvaluatedAnnotationsRequest.Builder setParentBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchImportEvaluatedAnnotationsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchImportEvaluatedAnnotationsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchImportEvaluatedAnnotationsRequest.Builder
Overrides