Class UserListStringRuleItemInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<UserListStringRuleItemInfo.Builder>
com.google.ads.googleads.v18.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.GeneratedMessageV3.Builder<UserListStringRuleItemInfo.Builder> implements UserListStringRuleItemInfoOrBuilder
 A rule item composed of a string operation.
 
Protobuf type google.ads.googleads.v18.common.UserListStringRuleItemInfo
  • Method Details

    • 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<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.GeneratedMessageV3.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.GeneratedMessageV3.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
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<UserListStringRuleItemInfo.Builder>
    • setField

      public UserListStringRuleItemInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<UserListStringRuleItemInfo.Builder>
    • clearField

      public UserListStringRuleItemInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UserListStringRuleItemInfo.Builder>
    • clearOneof

      public UserListStringRuleItemInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UserListStringRuleItemInfo.Builder>
    • setRepeatedField

      public UserListStringRuleItemInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UserListStringRuleItemInfo.Builder>
    • addRepeatedField

      public UserListStringRuleItemInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UserListStringRuleItemInfo.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.GeneratedMessageV3.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.v18.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.v18.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.v18.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.v18.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.v18.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.
    • setUnknownFields

      public final UserListStringRuleItemInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UserListStringRuleItemInfo.Builder>
    • mergeUnknownFields

      public final UserListStringRuleItemInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UserListStringRuleItemInfo.Builder>