Class BatchImportEvaluatedAnnotationsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<BatchImportEvaluatedAnnotationsRequest.Builder> implements BatchImportEvaluatedAnnotationsRequestOrBuilder
 Request message for
 [ModelService.BatchImportEvaluatedAnnotations][google.cloud.aiplatform.v1.ModelService.BatchImportEvaluatedAnnotations]
 
Protobuf type google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
    • getDefaultInstanceForType

      public BatchImportEvaluatedAnnotationsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BatchImportEvaluatedAnnotationsRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<BatchImportEvaluatedAnnotationsRequest.Builder>
    • mergeFrom

      public BatchImportEvaluatedAnnotationsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface BatchImportEvaluatedAnnotationsRequestOrBuilder
      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 interface BatchImportEvaluatedAnnotationsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       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

       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 interface BatchImportEvaluatedAnnotationsRequestOrBuilder
    • 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 interface BatchImportEvaluatedAnnotationsRequestOrBuilder
    • 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 interface BatchImportEvaluatedAnnotationsRequestOrBuilder
    • 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

       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 interface BatchImportEvaluatedAnnotationsRequestOrBuilder
    • 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 interface BatchImportEvaluatedAnnotationsRequestOrBuilder
    • 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];