Class BatchImportEvaluatedAnnotationsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
- com.google.cloud.aiplatform.v1beta1.BatchImportEvaluatedAnnotationsRequest.Builder
-
- All Implemented Interfaces:
BatchImportEvaluatedAnnotationsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchImportEvaluatedAnnotationsRequest
public static final class BatchImportEvaluatedAnnotationsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder> implements BatchImportEvaluatedAnnotationsRequestOrBuilder
Request message for [ModelService.BatchImportEvaluatedAnnotations][google.cloud.aiplatform.v1beta1.ModelService.BatchImportEvaluatedAnnotations]
Protobuf typegoogle.cloud.aiplatform.v1beta1.BatchImportEvaluatedAnnotationsRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
clear
public BatchImportEvaluatedAnnotationsRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
getDefaultInstanceForType
public BatchImportEvaluatedAnnotationsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchImportEvaluatedAnnotationsRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchImportEvaluatedAnnotationsRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchImportEvaluatedAnnotationsRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
setField
public BatchImportEvaluatedAnnotationsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
clearField
public BatchImportEvaluatedAnnotationsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
clearOneof
public BatchImportEvaluatedAnnotationsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
setRepeatedField
public BatchImportEvaluatedAnnotationsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
addRepeatedField
public BatchImportEvaluatedAnnotationsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
mergeFrom
public BatchImportEvaluatedAnnotationsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
mergeFrom
public BatchImportEvaluatedAnnotationsRequest.Builder mergeFrom(BatchImportEvaluatedAnnotationsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
mergeFrom
public BatchImportEvaluatedAnnotationsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>- Throws:
IOException
-
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) = { ... }- Specified by:
getParentin interfaceBatchImportEvaluatedAnnotationsRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.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) = { ... }- Specified by:
getParentBytesin interfaceBatchImportEvaluatedAnnotationsRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
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) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setParentBytes
public BatchImportEvaluatedAnnotationsRequest.Builder setParentBytes(com.google.protobuf.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) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getEvaluatedAnnotationsList
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];- Specified by:
getEvaluatedAnnotationsListin interfaceBatchImportEvaluatedAnnotationsRequestOrBuilder
-
getEvaluatedAnnotationsCount
public int getEvaluatedAnnotationsCount()
Required. Evaluated annotations resource to be imported.
repeated .google.cloud.aiplatform.v1beta1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEvaluatedAnnotationsCountin interfaceBatchImportEvaluatedAnnotationsRequestOrBuilder
-
getEvaluatedAnnotations
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];- Specified by:
getEvaluatedAnnotationsin interfaceBatchImportEvaluatedAnnotationsRequestOrBuilder
-
setEvaluatedAnnotations
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];
-
setEvaluatedAnnotations
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];
-
addEvaluatedAnnotations
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];
-
addEvaluatedAnnotations
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];
-
addEvaluatedAnnotations
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];
-
addEvaluatedAnnotations
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];
-
addAllEvaluatedAnnotations
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];
-
clearEvaluatedAnnotations
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];
-
removeEvaluatedAnnotations
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];
-
getEvaluatedAnnotationsBuilder
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];
-
getEvaluatedAnnotationsOrBuilder
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];- Specified by:
getEvaluatedAnnotationsOrBuilderin interfaceBatchImportEvaluatedAnnotationsRequestOrBuilder
-
getEvaluatedAnnotationsOrBuilderList
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];- Specified by:
getEvaluatedAnnotationsOrBuilderListin interfaceBatchImportEvaluatedAnnotationsRequestOrBuilder
-
addEvaluatedAnnotationsBuilder
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];
-
addEvaluatedAnnotationsBuilder
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];
-
getEvaluatedAnnotationsBuilderList
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];
-
setUnknownFields
public final BatchImportEvaluatedAnnotationsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
mergeUnknownFields
public final BatchImportEvaluatedAnnotationsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
-