Class ImportProductSetsRequest.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<ImportProductSetsRequest.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<ImportProductSetsRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public ImportProductSetsRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportProductSetsRequest.Builder>
      • addRepeatedField

        public ImportProductSetsRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportProductSetsRequest.Builder>
      • isInitialized

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

        public ImportProductSetsRequest.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<ImportProductSetsRequest.Builder>
        Throws:
        IOException
      • getParent

        public String getParent()
         Required. The project in which the ProductSets should be imported.
        
         Format is `projects/PROJECT_ID/locations/LOC_ID`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface ImportProductSetsRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The project in which the ProductSets should be imported.
        
         Format is `projects/PROJECT_ID/locations/LOC_ID`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface ImportProductSetsRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public ImportProductSetsRequest.Builder setParent​(String value)
         Required. The project in which the ProductSets should be imported.
        
         Format is `projects/PROJECT_ID/locations/LOC_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 ImportProductSetsRequest.Builder clearParent()
         Required. The project in which the ProductSets should be imported.
        
         Format is `projects/PROJECT_ID/locations/LOC_ID`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public ImportProductSetsRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The project in which the ProductSets should be imported.
        
         Format is `projects/PROJECT_ID/locations/LOC_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.
      • hasInputConfig

        public boolean hasInputConfig()
         Required. The input content for the list of requests.
         
        .google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasInputConfig in interface ImportProductSetsRequestOrBuilder
        Returns:
        Whether the inputConfig field is set.
      • clearInputConfig

        public ImportProductSetsRequest.Builder clearInputConfig()
         Required. The input content for the list of requests.
         
        .google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
      • getInputConfigBuilder

        public ImportProductSetsInputConfig.Builder getInputConfigBuilder()
         Required. The input content for the list of requests.
         
        .google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
      • setUnknownFields

        public final ImportProductSetsRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportProductSetsRequest.Builder>
      • mergeUnknownFields

        public final ImportProductSetsRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportProductSetsRequest.Builder>