Class UserListStringRuleItemInfo.Builder

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

public static final class UserListStringRuleItemInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<UserListStringRuleItemInfo.Builder> implements UserListStringRuleItemInfoOrBuilder
 A rule item composed of a string operation.
 
Protobuf type google.ads.googleads.v22.common.UserListStringRuleItemInfo
  • 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<UserListStringRuleItemInfo.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<UserListStringRuleItemInfo.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<UserListStringRuleItemInfo.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public UserListStringRuleItemInfo.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<UserListStringRuleItemInfo.Builder>
      Throws:
      IOException
    • getOperatorValue

      public int getOperatorValue()
       String comparison operator.
       This field is required and must be populated when creating a new string
       rule item.
       
      .google.ads.googleads.v22.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator operator = 1;
      Specified by:
      getOperatorValue in interface UserListStringRuleItemInfoOrBuilder
      Returns:
      The enum numeric value on the wire for operator.
    • setOperatorValue

      public UserListStringRuleItemInfo.Builder setOperatorValue(int value)
       String comparison operator.
       This field is required and must be populated when creating a new string
       rule item.
       
      .google.ads.googleads.v22.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator operator = 1;
      Parameters:
      value - The enum numeric value on the wire for operator to set.
      Returns:
      This builder for chaining.
    • getOperator

       String comparison operator.
       This field is required and must be populated when creating a new string
       rule item.
       
      .google.ads.googleads.v22.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator operator = 1;
      Specified by:
      getOperator in interface UserListStringRuleItemInfoOrBuilder
      Returns:
      The operator.
    • setOperator

       String comparison operator.
       This field is required and must be populated when creating a new string
       rule item.
       
      .google.ads.googleads.v22.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator operator = 1;
      Parameters:
      value - The operator to set.
      Returns:
      This builder for chaining.
    • clearOperator

      public UserListStringRuleItemInfo.Builder clearOperator()
       String comparison operator.
       This field is required and must be populated when creating a new string
       rule item.
       
      .google.ads.googleads.v22.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator operator = 1;
      Returns:
      This builder for chaining.
    • hasValue

      public boolean hasValue()
       The right hand side of the string rule item. For URLs or referrer URLs,
       the value can not contain illegal URL chars such as newlines, quotes,
       tabs, or parentheses. This field is required and must be populated when
       creating a new string rule item.
       
      optional string value = 3;
      Specified by:
      hasValue in interface UserListStringRuleItemInfoOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public String getValue()
       The right hand side of the string rule item. For URLs or referrer URLs,
       the value can not contain illegal URL chars such as newlines, quotes,
       tabs, or parentheses. This field is required and must be populated when
       creating a new string rule item.
       
      optional string value = 3;
      Specified by:
      getValue in interface UserListStringRuleItemInfoOrBuilder
      Returns:
      The value.
    • getValueBytes

      public com.google.protobuf.ByteString getValueBytes()
       The right hand side of the string rule item. For URLs or referrer URLs,
       the value can not contain illegal URL chars such as newlines, quotes,
       tabs, or parentheses. This field is required and must be populated when
       creating a new string rule item.
       
      optional string value = 3;
      Specified by:
      getValueBytes in interface UserListStringRuleItemInfoOrBuilder
      Returns:
      The bytes for value.
    • setValue

      public UserListStringRuleItemInfo.Builder setValue(String value)
       The right hand side of the string rule item. For URLs or referrer URLs,
       the value can not contain illegal URL chars such as newlines, quotes,
       tabs, or parentheses. This field is required and must be populated when
       creating a new string rule item.
       
      optional string value = 3;
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

       The right hand side of the string rule item. For URLs or referrer URLs,
       the value can not contain illegal URL chars such as newlines, quotes,
       tabs, or parentheses. This field is required and must be populated when
       creating a new string rule item.
       
      optional string value = 3;
      Returns:
      This builder for chaining.
    • setValueBytes

      public UserListStringRuleItemInfo.Builder setValueBytes(com.google.protobuf.ByteString value)
       The right hand side of the string rule item. For URLs or referrer URLs,
       the value can not contain illegal URL chars such as newlines, quotes,
       tabs, or parentheses. This field is required and must be populated when
       creating a new string rule item.
       
      optional string value = 3;
      Parameters:
      value - The bytes for value to set.
      Returns:
      This builder for chaining.