Class UpdateAttributesConfigRequest

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

@Generated public final class UpdateAttributesConfigRequest extends com.google.protobuf.GeneratedMessage implements UpdateAttributesConfigRequestOrBuilder
 Request for
 [CatalogService.UpdateAttributesConfig][google.cloud.retail.v2alpha.CatalogService.UpdateAttributesConfig]
 method.
 
Protobuf type google.cloud.retail.v2alpha.UpdateAttributesConfigRequest
See Also:
  • Field Details

    • ATTRIBUTES_CONFIG_FIELD_NUMBER

      public static final int ATTRIBUTES_CONFIG_FIELD_NUMBER
      See Also:
    • UPDATE_MASK_FIELD_NUMBER

      public static final int UPDATE_MASK_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
    • hasAttributesConfig

      public boolean hasAttributesConfig()
       Required. The
       [AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig] to update.
       
      .google.cloud.retail.v2alpha.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasAttributesConfig in interface UpdateAttributesConfigRequestOrBuilder
      Returns:
      Whether the attributesConfig field is set.
    • getAttributesConfig

      public AttributesConfig getAttributesConfig()
       Required. The
       [AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig] to update.
       
      .google.cloud.retail.v2alpha.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAttributesConfig in interface UpdateAttributesConfigRequestOrBuilder
      Returns:
      The attributesConfig.
    • getAttributesConfigOrBuilder

      public AttributesConfigOrBuilder getAttributesConfigOrBuilder()
       Required. The
       [AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig] to update.
       
      .google.cloud.retail.v2alpha.AttributesConfig attributes_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAttributesConfigOrBuilder in interface UpdateAttributesConfigRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Indicates which fields in the provided
       [AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig] to update.
       The following is the only supported field:
      
       * [AttributesConfig.catalog_attributes][google.cloud.retail.v2alpha.AttributesConfig.catalog_attributes]
      
       If not set, all supported fields are updated.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      hasUpdateMask in interface UpdateAttributesConfigRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Indicates which fields in the provided
       [AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig] to update.
       The following is the only supported field:
      
       * [AttributesConfig.catalog_attributes][google.cloud.retail.v2alpha.AttributesConfig.catalog_attributes]
      
       If not set, all supported fields are updated.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      getUpdateMask in interface UpdateAttributesConfigRequestOrBuilder
      Returns:
      The updateMask.
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Indicates which fields in the provided
       [AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig] to update.
       The following is the only supported field:
      
       * [AttributesConfig.catalog_attributes][google.cloud.retail.v2alpha.AttributesConfig.catalog_attributes]
      
       If not set, all supported fields are updated.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateAttributesConfigRequestOrBuilder
    • 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 UpdateAttributesConfigRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

      public UpdateAttributesConfigRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static UpdateAttributesConfigRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static UpdateAttributesConfigRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<UpdateAttributesConfigRequest> 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 UpdateAttributesConfigRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder