Class ImportCatalogItemsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportCatalogItemsRequest.Builder>
com.google.cloud.recommendationengine.v1beta1.ImportCatalogItemsRequest.Builder
All Implemented Interfaces:
ImportCatalogItemsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ImportCatalogItemsRequest

public static final class ImportCatalogItemsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImportCatalogItemsRequest.Builder> implements ImportCatalogItemsRequestOrBuilder
 Request message for Import methods.
 
Protobuf type google.cloud.recommendationengine.v1beta1.ImportCatalogItemsRequest
  • 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<ImportCatalogItemsRequest.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<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.GeneratedMessage.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
    • mergeFrom

      public ImportCatalogItemsRequest.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<ImportCatalogItemsRequest.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<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];
    • getInputConfigOrBuilder

      public InputConfigOrBuilder getInputConfigOrBuilder()
       Required. The desired input location of the data.
       
      .google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInputConfigOrBuilder in interface ImportCatalogItemsRequestOrBuilder
    • 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];
    • getErrorsConfigOrBuilder

      public ImportErrorsConfigOrBuilder getErrorsConfigOrBuilder()
       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:
      getErrorsConfigOrBuilder in interface ImportCatalogItemsRequestOrBuilder