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

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

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

        public BatchRemoveCatalogAttributesResponse 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<BatchRemoveCatalogAttributesResponse.Builder>
      • getDeletedCatalogAttributesList

        public com.google.protobuf.ProtocolStringList getDeletedCatalogAttributesList()
         Catalog attributes that were deleted. Only pre-loaded [catalog
         attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are
         neither [in
         use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by
         products nor predefined can be deleted.
         
        repeated string deleted_catalog_attributes = 1;
        Specified by:
        getDeletedCatalogAttributesList in interface BatchRemoveCatalogAttributesResponseOrBuilder
        Returns:
        A list containing the deletedCatalogAttributes.
      • getDeletedCatalogAttributesCount

        public int getDeletedCatalogAttributesCount()
         Catalog attributes that were deleted. Only pre-loaded [catalog
         attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are
         neither [in
         use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by
         products nor predefined can be deleted.
         
        repeated string deleted_catalog_attributes = 1;
        Specified by:
        getDeletedCatalogAttributesCount in interface BatchRemoveCatalogAttributesResponseOrBuilder
        Returns:
        The count of deletedCatalogAttributes.
      • getDeletedCatalogAttributes

        public String getDeletedCatalogAttributes​(int index)
         Catalog attributes that were deleted. Only pre-loaded [catalog
         attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are
         neither [in
         use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by
         products nor predefined can be deleted.
         
        repeated string deleted_catalog_attributes = 1;
        Specified by:
        getDeletedCatalogAttributes in interface BatchRemoveCatalogAttributesResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The deletedCatalogAttributes at the given index.
      • getDeletedCatalogAttributesBytes

        public com.google.protobuf.ByteString getDeletedCatalogAttributesBytes​(int index)
         Catalog attributes that were deleted. Only pre-loaded [catalog
         attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are
         neither [in
         use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by
         products nor predefined can be deleted.
         
        repeated string deleted_catalog_attributes = 1;
        Specified by:
        getDeletedCatalogAttributesBytes in interface BatchRemoveCatalogAttributesResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the deletedCatalogAttributes at the given index.
      • setDeletedCatalogAttributes

        public BatchRemoveCatalogAttributesResponse.Builder setDeletedCatalogAttributes​(int index,
                                                                                        String value)
         Catalog attributes that were deleted. Only pre-loaded [catalog
         attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are
         neither [in
         use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by
         products nor predefined can be deleted.
         
        repeated string deleted_catalog_attributes = 1;
        Parameters:
        index - The index to set the value at.
        value - The deletedCatalogAttributes to set.
        Returns:
        This builder for chaining.
      • addDeletedCatalogAttributes

        public BatchRemoveCatalogAttributesResponse.Builder addDeletedCatalogAttributes​(String value)
         Catalog attributes that were deleted. Only pre-loaded [catalog
         attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are
         neither [in
         use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by
         products nor predefined can be deleted.
         
        repeated string deleted_catalog_attributes = 1;
        Parameters:
        value - The deletedCatalogAttributes to add.
        Returns:
        This builder for chaining.
      • addAllDeletedCatalogAttributes

        public BatchRemoveCatalogAttributesResponse.Builder addAllDeletedCatalogAttributes​(Iterable<String> values)
         Catalog attributes that were deleted. Only pre-loaded [catalog
         attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are
         neither [in
         use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by
         products nor predefined can be deleted.
         
        repeated string deleted_catalog_attributes = 1;
        Parameters:
        values - The deletedCatalogAttributes to add.
        Returns:
        This builder for chaining.
      • clearDeletedCatalogAttributes

        public BatchRemoveCatalogAttributesResponse.Builder clearDeletedCatalogAttributes()
         Catalog attributes that were deleted. Only pre-loaded [catalog
         attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are
         neither [in
         use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by
         products nor predefined can be deleted.
         
        repeated string deleted_catalog_attributes = 1;
        Returns:
        This builder for chaining.
      • addDeletedCatalogAttributesBytes

        public BatchRemoveCatalogAttributesResponse.Builder addDeletedCatalogAttributesBytes​(com.google.protobuf.ByteString value)
         Catalog attributes that were deleted. Only pre-loaded [catalog
         attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are
         neither [in
         use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by
         products nor predefined can be deleted.
         
        repeated string deleted_catalog_attributes = 1;
        Parameters:
        value - The bytes of the deletedCatalogAttributes to add.
        Returns:
        This builder for chaining.
      • getResetCatalogAttributesList

        public com.google.protobuf.ProtocolStringList getResetCatalogAttributesList()
         Catalog attributes that were reset. [Catalog
         attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are either
         [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products
         or are predefined attributes cannot be deleted; however, their
         configuration properties will reset to default values upon removal request.
         
        repeated string reset_catalog_attributes = 2;
        Specified by:
        getResetCatalogAttributesList in interface BatchRemoveCatalogAttributesResponseOrBuilder
        Returns:
        A list containing the resetCatalogAttributes.
      • getResetCatalogAttributesCount

        public int getResetCatalogAttributesCount()
         Catalog attributes that were reset. [Catalog
         attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are either
         [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products
         or are predefined attributes cannot be deleted; however, their
         configuration properties will reset to default values upon removal request.
         
        repeated string reset_catalog_attributes = 2;
        Specified by:
        getResetCatalogAttributesCount in interface BatchRemoveCatalogAttributesResponseOrBuilder
        Returns:
        The count of resetCatalogAttributes.
      • getResetCatalogAttributes

        public String getResetCatalogAttributes​(int index)
         Catalog attributes that were reset. [Catalog
         attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are either
         [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products
         or are predefined attributes cannot be deleted; however, their
         configuration properties will reset to default values upon removal request.
         
        repeated string reset_catalog_attributes = 2;
        Specified by:
        getResetCatalogAttributes in interface BatchRemoveCatalogAttributesResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The resetCatalogAttributes at the given index.
      • getResetCatalogAttributesBytes

        public com.google.protobuf.ByteString getResetCatalogAttributesBytes​(int index)
         Catalog attributes that were reset. [Catalog
         attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are either
         [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products
         or are predefined attributes cannot be deleted; however, their
         configuration properties will reset to default values upon removal request.
         
        repeated string reset_catalog_attributes = 2;
        Specified by:
        getResetCatalogAttributesBytes in interface BatchRemoveCatalogAttributesResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the resetCatalogAttributes at the given index.
      • setResetCatalogAttributes

        public BatchRemoveCatalogAttributesResponse.Builder setResetCatalogAttributes​(int index,
                                                                                      String value)
         Catalog attributes that were reset. [Catalog
         attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are either
         [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products
         or are predefined attributes cannot be deleted; however, their
         configuration properties will reset to default values upon removal request.
         
        repeated string reset_catalog_attributes = 2;
        Parameters:
        index - The index to set the value at.
        value - The resetCatalogAttributes to set.
        Returns:
        This builder for chaining.
      • addResetCatalogAttributes

        public BatchRemoveCatalogAttributesResponse.Builder addResetCatalogAttributes​(String value)
         Catalog attributes that were reset. [Catalog
         attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are either
         [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products
         or are predefined attributes cannot be deleted; however, their
         configuration properties will reset to default values upon removal request.
         
        repeated string reset_catalog_attributes = 2;
        Parameters:
        value - The resetCatalogAttributes to add.
        Returns:
        This builder for chaining.
      • addAllResetCatalogAttributes

        public BatchRemoveCatalogAttributesResponse.Builder addAllResetCatalogAttributes​(Iterable<String> values)
         Catalog attributes that were reset. [Catalog
         attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are either
         [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products
         or are predefined attributes cannot be deleted; however, their
         configuration properties will reset to default values upon removal request.
         
        repeated string reset_catalog_attributes = 2;
        Parameters:
        values - The resetCatalogAttributes to add.
        Returns:
        This builder for chaining.
      • clearResetCatalogAttributes

        public BatchRemoveCatalogAttributesResponse.Builder clearResetCatalogAttributes()
         Catalog attributes that were reset. [Catalog
         attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are either
         [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products
         or are predefined attributes cannot be deleted; however, their
         configuration properties will reset to default values upon removal request.
         
        repeated string reset_catalog_attributes = 2;
        Returns:
        This builder for chaining.
      • addResetCatalogAttributesBytes

        public BatchRemoveCatalogAttributesResponse.Builder addResetCatalogAttributesBytes​(com.google.protobuf.ByteString value)
         Catalog attributes that were reset. [Catalog
         attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are either
         [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products
         or are predefined attributes cannot be deleted; however, their
         configuration properties will reset to default values upon removal request.
         
        repeated string reset_catalog_attributes = 2;
        Parameters:
        value - The bytes of the resetCatalogAttributes to add.
        Returns:
        This builder for chaining.