Package com.google.cloud.aiplatform.v1
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.v1.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.v1.ModelService.BatchImportEvaluatedAnnotations]
Protobuf typegoogle.cloud.aiplatform.v1.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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
clear
public BatchImportEvaluatedAnnotationsRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
getDefaultInstanceForType
public BatchImportEvaluatedAnnotationsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchImportEvaluatedAnnotationsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchImportEvaluatedAnnotationsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchImportEvaluatedAnnotationsRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
setField
public BatchImportEvaluatedAnnotationsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
clearField
public BatchImportEvaluatedAnnotationsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
clearOneof
public BatchImportEvaluatedAnnotationsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
setRepeatedField
public BatchImportEvaluatedAnnotationsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
addRepeatedField
public BatchImportEvaluatedAnnotationsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
mergeFrom
public BatchImportEvaluatedAnnotationsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
mergeFrom
public BatchImportEvaluatedAnnotationsRequest.Builder mergeFrom(BatchImportEvaluatedAnnotationsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getParent
in 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:
getParentBytes
in 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.v1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getEvaluatedAnnotationsList
in interfaceBatchImportEvaluatedAnnotationsRequestOrBuilder
-
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];
- Specified by:
getEvaluatedAnnotationsCount
in interfaceBatchImportEvaluatedAnnotationsRequestOrBuilder
-
getEvaluatedAnnotations
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];
- Specified by:
getEvaluatedAnnotations
in interfaceBatchImportEvaluatedAnnotationsRequestOrBuilder
-
setEvaluatedAnnotations
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];
-
setEvaluatedAnnotations
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];
-
addEvaluatedAnnotations
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];
-
addEvaluatedAnnotations
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];
-
addEvaluatedAnnotations
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];
-
addEvaluatedAnnotations
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];
-
addAllEvaluatedAnnotations
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];
-
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];
-
removeEvaluatedAnnotations
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];
-
getEvaluatedAnnotationsBuilder
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];
-
getEvaluatedAnnotationsOrBuilder
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];
- Specified by:
getEvaluatedAnnotationsOrBuilder
in interfaceBatchImportEvaluatedAnnotationsRequestOrBuilder
-
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];
- Specified by:
getEvaluatedAnnotationsOrBuilderList
in interfaceBatchImportEvaluatedAnnotationsRequestOrBuilder
-
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];
-
addEvaluatedAnnotationsBuilder
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];
-
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];
-
setUnknownFields
public final BatchImportEvaluatedAnnotationsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
mergeUnknownFields
public final BatchImportEvaluatedAnnotationsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
-
-