Class CreateAnnotationSpecSetRequest.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateAnnotationSpecSetRequest.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.GeneratedMessageV3.Builder<CreateAnnotationSpecSetRequest.Builder>
      • getDefaultInstanceForType

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

        public CreateAnnotationSpecSetRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public CreateAnnotationSpecSetRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateAnnotationSpecSetRequest.Builder>
      • getParent

        public String getParent()
         Required. AnnotationSpecSet resource parent, format:
         projects/{project_id}
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface CreateAnnotationSpecSetRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. AnnotationSpecSet resource parent, format:
         projects/{project_id}
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreateAnnotationSpecSetRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateAnnotationSpecSetRequest.Builder setParent​(String value)
         Required. AnnotationSpecSet resource parent, format:
         projects/{project_id}
         
        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 CreateAnnotationSpecSetRequest.Builder clearParent()
         Required. AnnotationSpecSet resource parent, format:
         projects/{project_id}
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateAnnotationSpecSetRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. AnnotationSpecSet resource parent, format:
         projects/{project_id}
         
        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.
      • hasAnnotationSpecSet

        public boolean hasAnnotationSpecSet()
         Required. Annotation spec set to create. Annotation specs must be included.
         Only one annotation spec will be accepted for annotation specs with same
         display_name.
         
        .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_set = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasAnnotationSpecSet in interface CreateAnnotationSpecSetRequestOrBuilder
        Returns:
        Whether the annotationSpecSet field is set.
      • getAnnotationSpecSet

        public AnnotationSpecSet getAnnotationSpecSet()
         Required. Annotation spec set to create. Annotation specs must be included.
         Only one annotation spec will be accepted for annotation specs with same
         display_name.
         
        .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_set = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getAnnotationSpecSet in interface CreateAnnotationSpecSetRequestOrBuilder
        Returns:
        The annotationSpecSet.
      • setAnnotationSpecSet

        public CreateAnnotationSpecSetRequest.Builder setAnnotationSpecSet​(AnnotationSpecSet value)
         Required. Annotation spec set to create. Annotation specs must be included.
         Only one annotation spec will be accepted for annotation specs with same
         display_name.
         
        .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_set = 2 [(.google.api.field_behavior) = REQUIRED];
      • setAnnotationSpecSet

        public CreateAnnotationSpecSetRequest.Builder setAnnotationSpecSet​(AnnotationSpecSet.Builder builderForValue)
         Required. Annotation spec set to create. Annotation specs must be included.
         Only one annotation spec will be accepted for annotation specs with same
         display_name.
         
        .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_set = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeAnnotationSpecSet

        public CreateAnnotationSpecSetRequest.Builder mergeAnnotationSpecSet​(AnnotationSpecSet value)
         Required. Annotation spec set to create. Annotation specs must be included.
         Only one annotation spec will be accepted for annotation specs with same
         display_name.
         
        .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_set = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearAnnotationSpecSet

        public CreateAnnotationSpecSetRequest.Builder clearAnnotationSpecSet()
         Required. Annotation spec set to create. Annotation specs must be included.
         Only one annotation spec will be accepted for annotation specs with same
         display_name.
         
        .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_set = 2 [(.google.api.field_behavior) = REQUIRED];
      • getAnnotationSpecSetBuilder

        public AnnotationSpecSet.Builder getAnnotationSpecSetBuilder()
         Required. Annotation spec set to create. Annotation specs must be included.
         Only one annotation spec will be accepted for annotation specs with same
         display_name.
         
        .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_set = 2 [(.google.api.field_behavior) = REQUIRED];
      • getAnnotationSpecSetOrBuilder

        public AnnotationSpecSetOrBuilder getAnnotationSpecSetOrBuilder()
         Required. Annotation spec set to create. Annotation specs must be included.
         Only one annotation spec will be accepted for annotation specs with same
         display_name.
         
        .google.cloud.datalabeling.v1beta1.AnnotationSpecSet annotation_spec_set = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getAnnotationSpecSetOrBuilder in interface CreateAnnotationSpecSetRequestOrBuilder