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

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

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

        public ReplaceCatalogAttributeRequest 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<ReplaceCatalogAttributeRequest.Builder>
      • getAttributesConfig

        public String getAttributesConfig()
         Required. Full AttributesConfig resource name. Format:
         `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`
         
        string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getAttributesConfig in interface ReplaceCatalogAttributeRequestOrBuilder
        Returns:
        The attributesConfig.
      • getAttributesConfigBytes

        public com.google.protobuf.ByteString getAttributesConfigBytes()
         Required. Full AttributesConfig resource name. Format:
         `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`
         
        string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getAttributesConfigBytes in interface ReplaceCatalogAttributeRequestOrBuilder
        Returns:
        The bytes for attributesConfig.
      • setAttributesConfig

        public ReplaceCatalogAttributeRequest.Builder setAttributesConfig​(String value)
         Required. Full AttributesConfig resource name. Format:
         `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`
         
        string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The attributesConfig to set.
        Returns:
        This builder for chaining.
      • clearAttributesConfig

        public ReplaceCatalogAttributeRequest.Builder clearAttributesConfig()
         Required. Full AttributesConfig resource name. Format:
         `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`
         
        string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setAttributesConfigBytes

        public ReplaceCatalogAttributeRequest.Builder setAttributesConfigBytes​(com.google.protobuf.ByteString value)
         Required. Full AttributesConfig resource name. Format:
         `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`
         
        string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for attributesConfig to set.
        Returns:
        This builder for chaining.
      • hasCatalogAttribute

        public boolean hasCatalogAttribute()
         Required. The updated
         [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute].
         
        .google.cloud.retail.v2beta.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasCatalogAttribute in interface ReplaceCatalogAttributeRequestOrBuilder
        Returns:
        Whether the catalogAttribute field is set.
      • getCatalogAttribute

        public CatalogAttribute getCatalogAttribute()
         Required. The updated
         [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute].
         
        .google.cloud.retail.v2beta.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCatalogAttribute in interface ReplaceCatalogAttributeRequestOrBuilder
        Returns:
        The catalogAttribute.
      • setCatalogAttribute

        public ReplaceCatalogAttributeRequest.Builder setCatalogAttribute​(CatalogAttribute value)
         Required. The updated
         [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute].
         
        .google.cloud.retail.v2beta.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
      • setCatalogAttribute

        public ReplaceCatalogAttributeRequest.Builder setCatalogAttribute​(CatalogAttribute.Builder builderForValue)
         Required. The updated
         [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute].
         
        .google.cloud.retail.v2beta.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeCatalogAttribute

        public ReplaceCatalogAttributeRequest.Builder mergeCatalogAttribute​(CatalogAttribute value)
         Required. The updated
         [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute].
         
        .google.cloud.retail.v2beta.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearCatalogAttribute

        public ReplaceCatalogAttributeRequest.Builder clearCatalogAttribute()
         Required. The updated
         [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute].
         
        .google.cloud.retail.v2beta.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
      • getCatalogAttributeBuilder

        public CatalogAttribute.Builder getCatalogAttributeBuilder()
         Required. The updated
         [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute].
         
        .google.cloud.retail.v2beta.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
      • hasUpdateMask

        public boolean hasUpdateMask()
         Indicates which fields in the provided
         [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] to update.
         The following are NOT supported:
        
         * [CatalogAttribute.key][google.cloud.retail.v2beta.CatalogAttribute.key]
        
         If not set, all supported fields are updated.
         
        .google.protobuf.FieldMask update_mask = 3;
        Specified by:
        hasUpdateMask in interface ReplaceCatalogAttributeRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Indicates which fields in the provided
         [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] to update.
         The following are NOT supported:
        
         * [CatalogAttribute.key][google.cloud.retail.v2beta.CatalogAttribute.key]
        
         If not set, all supported fields are updated.
         
        .google.protobuf.FieldMask update_mask = 3;
        Specified by:
        getUpdateMask in interface ReplaceCatalogAttributeRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public ReplaceCatalogAttributeRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Indicates which fields in the provided
         [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] to update.
         The following are NOT supported:
        
         * [CatalogAttribute.key][google.cloud.retail.v2beta.CatalogAttribute.key]
        
         If not set, all supported fields are updated.
         
        .google.protobuf.FieldMask update_mask = 3;
      • setUpdateMask

        public ReplaceCatalogAttributeRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Indicates which fields in the provided
         [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] to update.
         The following are NOT supported:
        
         * [CatalogAttribute.key][google.cloud.retail.v2beta.CatalogAttribute.key]
        
         If not set, all supported fields are updated.
         
        .google.protobuf.FieldMask update_mask = 3;
      • mergeUpdateMask

        public ReplaceCatalogAttributeRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Indicates which fields in the provided
         [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] to update.
         The following are NOT supported:
        
         * [CatalogAttribute.key][google.cloud.retail.v2beta.CatalogAttribute.key]
        
         If not set, all supported fields are updated.
         
        .google.protobuf.FieldMask update_mask = 3;
      • clearUpdateMask

        public ReplaceCatalogAttributeRequest.Builder clearUpdateMask()
         Indicates which fields in the provided
         [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] to update.
         The following are NOT supported:
        
         * [CatalogAttribute.key][google.cloud.retail.v2beta.CatalogAttribute.key]
        
         If not set, all supported fields are updated.
         
        .google.protobuf.FieldMask update_mask = 3;
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Indicates which fields in the provided
         [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] to update.
         The following are NOT supported:
        
         * [CatalogAttribute.key][google.cloud.retail.v2beta.CatalogAttribute.key]
        
         If not set, all supported fields are updated.
         
        .google.protobuf.FieldMask update_mask = 3;
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Indicates which fields in the provided
         [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] to update.
         The following are NOT supported:
        
         * [CatalogAttribute.key][google.cloud.retail.v2beta.CatalogAttribute.key]
        
         If not set, all supported fields are updated.
         
        .google.protobuf.FieldMask update_mask = 3;
        Specified by:
        getUpdateMaskOrBuilder in interface ReplaceCatalogAttributeRequestOrBuilder