public static final class BatchImportEvaluatedAnnotationsRequest.Builder extends GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder> implements BatchImportEvaluatedAnnotationsRequestOrBuilder
Request message for
ModelService.BatchImportEvaluatedAnnotations
Protobuf type google.cloud.aiplatform.v1beta1.BatchImportEvaluatedAnnotationsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public BatchImportEvaluatedAnnotationsRequest.Builder addAllEvaluatedAnnotations(Iterable<? extends EvaluatedAnnotation> values)
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1beta1.EvaluatedAnnotation>
|
public BatchImportEvaluatedAnnotationsRequest.Builder addEvaluatedAnnotations(EvaluatedAnnotation value)
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchImportEvaluatedAnnotationsRequest.Builder addEvaluatedAnnotations(EvaluatedAnnotation.Builder builderForValue)
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchImportEvaluatedAnnotationsRequest.Builder addEvaluatedAnnotations(int index, EvaluatedAnnotation value)
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchImportEvaluatedAnnotationsRequest.Builder addEvaluatedAnnotations(int index, EvaluatedAnnotation.Builder builderForValue)
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
public EvaluatedAnnotation.Builder addEvaluatedAnnotationsBuilder()
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
public EvaluatedAnnotation.Builder addEvaluatedAnnotationsBuilder(int index)
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
public BatchImportEvaluatedAnnotationsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchImportEvaluatedAnnotationsRequest build()
public BatchImportEvaluatedAnnotationsRequest buildPartial()
public BatchImportEvaluatedAnnotationsRequest.Builder clear()
Overrides
public BatchImportEvaluatedAnnotationsRequest.Builder clearEvaluatedAnnotations()
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchImportEvaluatedAnnotationsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BatchImportEvaluatedAnnotationsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
public BatchImportEvaluatedAnnotationsRequest.Builder clone()
Overrides
public BatchImportEvaluatedAnnotationsRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public EvaluatedAnnotation getEvaluatedAnnotations(int index)
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
public EvaluatedAnnotation.Builder getEvaluatedAnnotationsBuilder(int index)
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
public List<EvaluatedAnnotation.Builder> getEvaluatedAnnotationsBuilderList()
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
public int getEvaluatedAnnotationsCount()
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | |
public List<EvaluatedAnnotation> getEvaluatedAnnotationsList()
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
public EvaluatedAnnotationOrBuilder getEvaluatedAnnotationsOrBuilder(int index)
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
public List<? extends EvaluatedAnnotationOrBuilder> getEvaluatedAnnotationsOrBuilderList()
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.EvaluatedAnnotationOrBuilder> | |
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BatchImportEvaluatedAnnotationsRequest.Builder mergeFrom(BatchImportEvaluatedAnnotationsRequest other)
public BatchImportEvaluatedAnnotationsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BatchImportEvaluatedAnnotationsRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final BatchImportEvaluatedAnnotationsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public BatchImportEvaluatedAnnotationsRequest.Builder removeEvaluatedAnnotations(int index)
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
public BatchImportEvaluatedAnnotationsRequest.Builder setEvaluatedAnnotations(int index, EvaluatedAnnotation value)
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchImportEvaluatedAnnotationsRequest.Builder setEvaluatedAnnotations(int index, EvaluatedAnnotation.Builder builderForValue)
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchImportEvaluatedAnnotationsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
public BatchImportEvaluatedAnnotationsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final BatchImportEvaluatedAnnotationsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides