Class BatchImportEvaluatedAnnotationsRequest.Builder (3.28.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.EvaluatedAnnotation>
Returns
TypeDescription
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
NameDescription
valueEvaluatedAnnotation
Returns
TypeDescription
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
NameDescription
builderForValueEvaluatedAnnotation.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueEvaluatedAnnotation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEvaluatedAnnotation.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
EvaluatedAnnotation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchImportEvaluatedAnnotationsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchImportEvaluatedAnnotationsRequest.Builder
Overrides

build()

public BatchImportEvaluatedAnnotationsRequest build()
Returns
TypeDescription
BatchImportEvaluatedAnnotationsRequest

buildPartial()

public BatchImportEvaluatedAnnotationsRequest buildPartial()
Returns
TypeDescription
BatchImportEvaluatedAnnotationsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public BatchImportEvaluatedAnnotationsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchImportEvaluatedAnnotationsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchImportEvaluatedAnnotationsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
BatchImportEvaluatedAnnotationsRequest.Builder

This builder for chaining.

clone()

public BatchImportEvaluatedAnnotationsRequest.Builder clone()
Returns
TypeDescription
BatchImportEvaluatedAnnotationsRequest.Builder
Overrides

getDefaultInstanceForType()

public BatchImportEvaluatedAnnotationsRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchImportEvaluatedAnnotationsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchImportEvaluatedAnnotationsRequest other)

public BatchImportEvaluatedAnnotationsRequest.Builder mergeFrom(BatchImportEvaluatedAnnotationsRequest other)
Parameter
NameDescription
otherBatchImportEvaluatedAnnotationsRequest
Returns
TypeDescription
BatchImportEvaluatedAnnotationsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchImportEvaluatedAnnotationsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchImportEvaluatedAnnotationsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchImportEvaluatedAnnotationsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchImportEvaluatedAnnotationsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchImportEvaluatedAnnotationsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueEvaluatedAnnotation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEvaluatedAnnotation.Builder
Returns
TypeDescription
BatchImportEvaluatedAnnotationsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchImportEvaluatedAnnotationsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchImportEvaluatedAnnotationsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchImportEvaluatedAnnotationsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchImportEvaluatedAnnotationsRequest.Builder
Overrides