Class RetailTag.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RetailTag.Builder>
com.google.ads.googleads.v25.common.RetailTag.Builder
All Implemented Interfaces:
RetailTagOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RetailTag

public static final class RetailTag.Builder extends com.google.protobuf.GeneratedMessage.Builder<RetailTag.Builder> implements RetailTagOrBuilder
 Represents a Retail Filter Tag.
 
Protobuf type google.ads.googleads.v25.common.RetailTag
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The name of the expression this tag belongs to.
    The value of the tag.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The name of the expression this tag belongs to.
    com.google.protobuf.ByteString
    The name of the expression this tag belongs to.
    The value of the tag.
    com.google.protobuf.ByteString
    The value of the tag.
    boolean
    The name of the expression this tag belongs to.
    boolean
    The value of the tag.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    The name of the expression this tag belongs to.
    setExpressionNameBytes(com.google.protobuf.ByteString value)
    The name of the expression this tag belongs to.
    The value of the tag.
    setValueBytes(com.google.protobuf.ByteString value)
    The value of the tag.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<RetailTag.Builder>
    • clear

      public RetailTag.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<RetailTag.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<RetailTag.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public RetailTag.Builder mergeFrom(RetailTag other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RetailTag.Builder>
    • mergeFrom

      public RetailTag.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<RetailTag.Builder>
      Throws:
      IOException
    • hasValue

      public boolean hasValue()
       The value of the tag.
       It can contain at most 50 characters. All Unicode characters except comma
       and newline are allowed.
       This field is required.
       
      optional string value = 1;
      Specified by:
      hasValue in interface RetailTagOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public String getValue()
       The value of the tag.
       It can contain at most 50 characters. All Unicode characters except comma
       and newline are allowed.
       This field is required.
       
      optional string value = 1;
      Specified by:
      getValue in interface RetailTagOrBuilder
      Returns:
      The value.
    • getValueBytes

      public com.google.protobuf.ByteString getValueBytes()
       The value of the tag.
       It can contain at most 50 characters. All Unicode characters except comma
       and newline are allowed.
       This field is required.
       
      optional string value = 1;
      Specified by:
      getValueBytes in interface RetailTagOrBuilder
      Returns:
      The bytes for value.
    • setValue

      public RetailTag.Builder setValue(String value)
       The value of the tag.
       It can contain at most 50 characters. All Unicode characters except comma
       and newline are allowed.
       This field is required.
       
      optional string value = 1;
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

      public RetailTag.Builder clearValue()
       The value of the tag.
       It can contain at most 50 characters. All Unicode characters except comma
       and newline are allowed.
       This field is required.
       
      optional string value = 1;
      Returns:
      This builder for chaining.
    • setValueBytes

      public RetailTag.Builder setValueBytes(com.google.protobuf.ByteString value)
       The value of the tag.
       It can contain at most 50 characters. All Unicode characters except comma
       and newline are allowed.
       This field is required.
       
      optional string value = 1;
      Parameters:
      value - The bytes for value to set.
      Returns:
      This builder for chaining.
    • hasExpressionName

      public boolean hasExpressionName()
       The name of the expression this tag belongs to. If empty, the tag is
       a top-level condition.
       
      optional string expression_name = 2;
      Specified by:
      hasExpressionName in interface RetailTagOrBuilder
      Returns:
      Whether the expressionName field is set.
    • getExpressionName

      public String getExpressionName()
       The name of the expression this tag belongs to. If empty, the tag is
       a top-level condition.
       
      optional string expression_name = 2;
      Specified by:
      getExpressionName in interface RetailTagOrBuilder
      Returns:
      The expressionName.
    • getExpressionNameBytes

      public com.google.protobuf.ByteString getExpressionNameBytes()
       The name of the expression this tag belongs to. If empty, the tag is
       a top-level condition.
       
      optional string expression_name = 2;
      Specified by:
      getExpressionNameBytes in interface RetailTagOrBuilder
      Returns:
      The bytes for expressionName.
    • setExpressionName

      public RetailTag.Builder setExpressionName(String value)
       The name of the expression this tag belongs to. If empty, the tag is
       a top-level condition.
       
      optional string expression_name = 2;
      Parameters:
      value - The expressionName to set.
      Returns:
      This builder for chaining.
    • clearExpressionName

      public RetailTag.Builder clearExpressionName()
       The name of the expression this tag belongs to. If empty, the tag is
       a top-level condition.
       
      optional string expression_name = 2;
      Returns:
      This builder for chaining.
    • setExpressionNameBytes

      public RetailTag.Builder setExpressionNameBytes(com.google.protobuf.ByteString value)
       The name of the expression this tag belongs to. If empty, the tag is
       a top-level condition.
       
      optional string expression_name = 2;
      Parameters:
      value - The bytes for expressionName to set.
      Returns:
      This builder for chaining.