Class UpdateCatalogRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateCatalogRequest.Builder>
com.google.cloud.retail.v2alpha.UpdateCatalogRequest.Builder
All Implemented Interfaces:
UpdateCatalogRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateCatalogRequest

public static final class UpdateCatalogRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateCatalogRequest.Builder> implements UpdateCatalogRequestOrBuilder
 Request for
 [CatalogService.UpdateCatalog][google.cloud.retail.v2alpha.CatalogService.UpdateCatalog]
 method.
 
Protobuf type google.cloud.retail.v2alpha.UpdateCatalogRequest
  • 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<UpdateCatalogRequest.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<UpdateCatalogRequest.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<UpdateCatalogRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public UpdateCatalogRequest.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<UpdateCatalogRequest.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<UpdateCatalogRequest.Builder>
    • mergeFrom

      public UpdateCatalogRequest.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<UpdateCatalogRequest.Builder>
      Throws:
      IOException
    • hasCatalog

      public boolean hasCatalog()
       Required. The [Catalog][google.cloud.retail.v2alpha.Catalog] to update.
      
       If the caller does not have permission to update the
       [Catalog][google.cloud.retail.v2alpha.Catalog], regardless of whether or
       not it exists, a PERMISSION_DENIED error is returned.
      
       If the [Catalog][google.cloud.retail.v2alpha.Catalog] to update does not
       exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasCatalog in interface UpdateCatalogRequestOrBuilder
      Returns:
      Whether the catalog field is set.
    • getCatalog

      public Catalog getCatalog()
       Required. The [Catalog][google.cloud.retail.v2alpha.Catalog] to update.
      
       If the caller does not have permission to update the
       [Catalog][google.cloud.retail.v2alpha.Catalog], regardless of whether or
       not it exists, a PERMISSION_DENIED error is returned.
      
       If the [Catalog][google.cloud.retail.v2alpha.Catalog] to update does not
       exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCatalog in interface UpdateCatalogRequestOrBuilder
      Returns:
      The catalog.
    • setCatalog

      public UpdateCatalogRequest.Builder setCatalog(Catalog value)
       Required. The [Catalog][google.cloud.retail.v2alpha.Catalog] to update.
      
       If the caller does not have permission to update the
       [Catalog][google.cloud.retail.v2alpha.Catalog], regardless of whether or
       not it exists, a PERMISSION_DENIED error is returned.
      
       If the [Catalog][google.cloud.retail.v2alpha.Catalog] to update does not
       exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
    • setCatalog

      public UpdateCatalogRequest.Builder setCatalog(Catalog.Builder builderForValue)
       Required. The [Catalog][google.cloud.retail.v2alpha.Catalog] to update.
      
       If the caller does not have permission to update the
       [Catalog][google.cloud.retail.v2alpha.Catalog], regardless of whether or
       not it exists, a PERMISSION_DENIED error is returned.
      
       If the [Catalog][google.cloud.retail.v2alpha.Catalog] to update does not
       exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeCatalog

      public UpdateCatalogRequest.Builder mergeCatalog(Catalog value)
       Required. The [Catalog][google.cloud.retail.v2alpha.Catalog] to update.
      
       If the caller does not have permission to update the
       [Catalog][google.cloud.retail.v2alpha.Catalog], regardless of whether or
       not it exists, a PERMISSION_DENIED error is returned.
      
       If the [Catalog][google.cloud.retail.v2alpha.Catalog] to update does not
       exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearCatalog

      public UpdateCatalogRequest.Builder clearCatalog()
       Required. The [Catalog][google.cloud.retail.v2alpha.Catalog] to update.
      
       If the caller does not have permission to update the
       [Catalog][google.cloud.retail.v2alpha.Catalog], regardless of whether or
       not it exists, a PERMISSION_DENIED error is returned.
      
       If the [Catalog][google.cloud.retail.v2alpha.Catalog] to update does not
       exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
    • getCatalogBuilder

      public Catalog.Builder getCatalogBuilder()
       Required. The [Catalog][google.cloud.retail.v2alpha.Catalog] to update.
      
       If the caller does not have permission to update the
       [Catalog][google.cloud.retail.v2alpha.Catalog], regardless of whether or
       not it exists, a PERMISSION_DENIED error is returned.
      
       If the [Catalog][google.cloud.retail.v2alpha.Catalog] to update does not
       exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
    • getCatalogOrBuilder

      public CatalogOrBuilder getCatalogOrBuilder()
       Required. The [Catalog][google.cloud.retail.v2alpha.Catalog] to update.
      
       If the caller does not have permission to update the
       [Catalog][google.cloud.retail.v2alpha.Catalog], regardless of whether or
       not it exists, a PERMISSION_DENIED error is returned.
      
       If the [Catalog][google.cloud.retail.v2alpha.Catalog] to update does not
       exist, a NOT_FOUND error is returned.
       
      .google.cloud.retail.v2alpha.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCatalogOrBuilder in interface UpdateCatalogRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Indicates which fields in the provided
       [Catalog][google.cloud.retail.v2alpha.Catalog] to update.
      
       If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
       is returned.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      hasUpdateMask in interface UpdateCatalogRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Indicates which fields in the provided
       [Catalog][google.cloud.retail.v2alpha.Catalog] to update.
      
       If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
       is returned.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      getUpdateMask in interface UpdateCatalogRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateCatalogRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Indicates which fields in the provided
       [Catalog][google.cloud.retail.v2alpha.Catalog] to update.
      
       If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
       is returned.
       
      .google.protobuf.FieldMask update_mask = 2;
    • setUpdateMask

      public UpdateCatalogRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Indicates which fields in the provided
       [Catalog][google.cloud.retail.v2alpha.Catalog] to update.
      
       If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
       is returned.
       
      .google.protobuf.FieldMask update_mask = 2;
    • mergeUpdateMask

      public UpdateCatalogRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Indicates which fields in the provided
       [Catalog][google.cloud.retail.v2alpha.Catalog] to update.
      
       If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
       is returned.
       
      .google.protobuf.FieldMask update_mask = 2;
    • clearUpdateMask

      public UpdateCatalogRequest.Builder clearUpdateMask()
       Indicates which fields in the provided
       [Catalog][google.cloud.retail.v2alpha.Catalog] to update.
      
       If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
       is returned.
       
      .google.protobuf.FieldMask update_mask = 2;
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Indicates which fields in the provided
       [Catalog][google.cloud.retail.v2alpha.Catalog] to update.
      
       If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
       is returned.
       
      .google.protobuf.FieldMask update_mask = 2;
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Indicates which fields in the provided
       [Catalog][google.cloud.retail.v2alpha.Catalog] to update.
      
       If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
       is returned.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateCatalogRequestOrBuilder