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

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

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

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

        public ImportCatalogItemsRequest.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<ImportCatalogItemsRequest.Builder>
      • isInitialized

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

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

        public String getParent()
         Required. `projects/1234/locations/global/catalogs/default_catalog`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface ImportCatalogItemsRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. `projects/1234/locations/global/catalogs/default_catalog`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface ImportCatalogItemsRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public ImportCatalogItemsRequest.Builder setParent​(String value)
         Required. `projects/1234/locations/global/catalogs/default_catalog`
         
        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 ImportCatalogItemsRequest.Builder clearParent()
         Required. `projects/1234/locations/global/catalogs/default_catalog`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public ImportCatalogItemsRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. `projects/1234/locations/global/catalogs/default_catalog`
         
        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.
      • getRequestId

        public String getRequestId()
         Optional. Unique identifier provided by client, within the ancestor
         dataset scope. Ensures idempotency and used for request deduplication.
         Server-generated if unspecified. Up to 128 characters long. This is
         returned as google.longrunning.Operation.name in the response.
         
        string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getRequestId in interface ImportCatalogItemsRequestOrBuilder
        Returns:
        The requestId.
      • getRequestIdBytes

        public com.google.protobuf.ByteString getRequestIdBytes()
         Optional. Unique identifier provided by client, within the ancestor
         dataset scope. Ensures idempotency and used for request deduplication.
         Server-generated if unspecified. Up to 128 characters long. This is
         returned as google.longrunning.Operation.name in the response.
         
        string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getRequestIdBytes in interface ImportCatalogItemsRequestOrBuilder
        Returns:
        The bytes for requestId.
      • setRequestId

        public ImportCatalogItemsRequest.Builder setRequestId​(String value)
         Optional. Unique identifier provided by client, within the ancestor
         dataset scope. Ensures idempotency and used for request deduplication.
         Server-generated if unspecified. Up to 128 characters long. This is
         returned as google.longrunning.Operation.name in the response.
         
        string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The requestId to set.
        Returns:
        This builder for chaining.
      • clearRequestId

        public ImportCatalogItemsRequest.Builder clearRequestId()
         Optional. Unique identifier provided by client, within the ancestor
         dataset scope. Ensures idempotency and used for request deduplication.
         Server-generated if unspecified. Up to 128 characters long. This is
         returned as google.longrunning.Operation.name in the response.
         
        string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setRequestIdBytes

        public ImportCatalogItemsRequest.Builder setRequestIdBytes​(com.google.protobuf.ByteString value)
         Optional. Unique identifier provided by client, within the ancestor
         dataset scope. Ensures idempotency and used for request deduplication.
         Server-generated if unspecified. Up to 128 characters long. This is
         returned as google.longrunning.Operation.name in the response.
         
        string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for requestId to set.
        Returns:
        This builder for chaining.
      • hasInputConfig

        public boolean hasInputConfig()
         Required. The desired input location of the data.
         
        .google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasInputConfig in interface ImportCatalogItemsRequestOrBuilder
        Returns:
        Whether the inputConfig field is set.
      • getInputConfig

        public InputConfig getInputConfig()
         Required. The desired input location of the data.
         
        .google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getInputConfig in interface ImportCatalogItemsRequestOrBuilder
        Returns:
        The inputConfig.
      • setInputConfig

        public ImportCatalogItemsRequest.Builder setInputConfig​(InputConfig value)
         Required. The desired input location of the data.
         
        .google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
      • setInputConfig

        public ImportCatalogItemsRequest.Builder setInputConfig​(InputConfig.Builder builderForValue)
         Required. The desired input location of the data.
         
        .google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
      • mergeInputConfig

        public ImportCatalogItemsRequest.Builder mergeInputConfig​(InputConfig value)
         Required. The desired input location of the data.
         
        .google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearInputConfig

        public ImportCatalogItemsRequest.Builder clearInputConfig()
         Required. The desired input location of the data.
         
        .google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
      • getInputConfigBuilder

        public InputConfig.Builder getInputConfigBuilder()
         Required. The desired input location of the data.
         
        .google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
      • hasErrorsConfig

        public boolean hasErrorsConfig()
         Optional. The desired location of errors incurred during the Import.
         
        .google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasErrorsConfig in interface ImportCatalogItemsRequestOrBuilder
        Returns:
        Whether the errorsConfig field is set.
      • getErrorsConfig

        public ImportErrorsConfig getErrorsConfig()
         Optional. The desired location of errors incurred during the Import.
         
        .google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getErrorsConfig in interface ImportCatalogItemsRequestOrBuilder
        Returns:
        The errorsConfig.
      • setErrorsConfig

        public ImportCatalogItemsRequest.Builder setErrorsConfig​(ImportErrorsConfig value)
         Optional. The desired location of errors incurred during the Import.
         
        .google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      • setErrorsConfig

        public ImportCatalogItemsRequest.Builder setErrorsConfig​(ImportErrorsConfig.Builder builderForValue)
         Optional. The desired location of errors incurred during the Import.
         
        .google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      • mergeErrorsConfig

        public ImportCatalogItemsRequest.Builder mergeErrorsConfig​(ImportErrorsConfig value)
         Optional. The desired location of errors incurred during the Import.
         
        .google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      • clearErrorsConfig

        public ImportCatalogItemsRequest.Builder clearErrorsConfig()
         Optional. The desired location of errors incurred during the Import.
         
        .google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getErrorsConfigBuilder

        public ImportErrorsConfig.Builder getErrorsConfigBuilder()
         Optional. The desired location of errors incurred during the Import.
         
        .google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      • setUnknownFields

        public final ImportCatalogItemsRequest.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<ImportCatalogItemsRequest.Builder>
      • mergeUnknownFields

        public final ImportCatalogItemsRequest.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<ImportCatalogItemsRequest.Builder>