Class BatchImportEvaluatedAnnotationsRequest.Builder (3.15.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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>

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

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

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

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

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
Overrides

build()

public BatchImportEvaluatedAnnotationsRequest build()

buildPartial()

public BatchImportEvaluatedAnnotationsRequest buildPartial()

clear()

public BatchImportEvaluatedAnnotationsRequest.Builder clear()
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];

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

getDefaultInstanceForType()

public BatchImportEvaluatedAnnotationsRequest getDefaultInstanceForType()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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