Class BatchRemoveCatalogAttributesResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.retail.v2alpha.BatchRemoveCatalogAttributesResponse
All Implemented Interfaces:
BatchRemoveCatalogAttributesResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class BatchRemoveCatalogAttributesResponse extends com.google.protobuf.GeneratedMessage implements BatchRemoveCatalogAttributesResponseOrBuilder
 Response of the
 [CatalogService.BatchRemoveCatalogAttributes][google.cloud.retail.v2alpha.CatalogService.BatchRemoveCatalogAttributes].
 
Protobuf type google.cloud.retail.v2alpha.BatchRemoveCatalogAttributesResponse
See Also:
  • Field Details

    • DELETED_CATALOG_ATTRIBUTES_FIELD_NUMBER

      public static final int DELETED_CATALOG_ATTRIBUTES_FIELD_NUMBER
      See Also:
    • RESET_CATALOG_ATTRIBUTES_FIELD_NUMBER

      public static final int RESET_CATALOG_ATTRIBUTES_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static BatchRemoveCatalogAttributesResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BatchRemoveCatalogAttributesResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BatchRemoveCatalogAttributesResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BatchRemoveCatalogAttributesResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BatchRemoveCatalogAttributesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BatchRemoveCatalogAttributesResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BatchRemoveCatalogAttributesResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BatchRemoveCatalogAttributesResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BatchRemoveCatalogAttributesResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BatchRemoveCatalogAttributesResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BatchRemoveCatalogAttributesResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BatchRemoveCatalogAttributesResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected BatchRemoveCatalogAttributesResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static BatchRemoveCatalogAttributesResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<BatchRemoveCatalogAttributesResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<BatchRemoveCatalogAttributesResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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