Class UserListStringRuleItemInfo.Builder

    • Method Detail

      • 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>
      • 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

        public UserListStringRuleItemInfo 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
      • setRepeatedField

        public UserListStringRuleItemInfo.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                   int index,
                                                                   java.lang.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,
                                                                   java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UserListStringRuleItemInfo.Builder>
      • 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 java.io.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:
        java.io.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.v10.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.v10.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator operator = 1;
        Parameters:
        value - The enum numeric value on the wire for 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.v10.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 java.lang.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​(java.lang.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

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