Class UserListDateRuleItemInfo.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<UserListDateRuleItemInfo.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<UserListDateRuleItemInfo.Builder>
      • getDefaultInstanceForType

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

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

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

        public UserListDateRuleItemInfo.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<UserListDateRuleItemInfo.Builder>
      • setRepeatedField

        public UserListDateRuleItemInfo.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<UserListDateRuleItemInfo.Builder>
      • addRepeatedField

        public UserListDateRuleItemInfo.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<UserListDateRuleItemInfo.Builder>
      • isInitialized

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

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

        public int getOperatorValue()
         Date comparison operator.
         This field is required and must be populated when creating new date
         rule item.
         
        .google.ads.googleads.v10.enums.UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperator operator = 1;
        Specified by:
        getOperatorValue in interface UserListDateRuleItemInfoOrBuilder
        Returns:
        The enum numeric value on the wire for operator.
      • setOperatorValue

        public UserListDateRuleItemInfo.Builder setOperatorValue​(int value)
         Date comparison operator.
         This field is required and must be populated when creating new date
         rule item.
         
        .google.ads.googleads.v10.enums.UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperator operator = 1;
        Parameters:
        value - The enum numeric value on the wire for operator to set.
        Returns:
        This builder for chaining.
      • clearOperator

        public UserListDateRuleItemInfo.Builder clearOperator()
         Date comparison operator.
         This field is required and must be populated when creating new date
         rule item.
         
        .google.ads.googleads.v10.enums.UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperator operator = 1;
        Returns:
        This builder for chaining.
      • hasValue

        public boolean hasValue()
         String representing date value to be compared with the rule variable.
         Supported date format is YYYY-MM-DD.
         Times are reported in the customer's time zone.
         
        optional string value = 4;
        Specified by:
        hasValue in interface UserListDateRuleItemInfoOrBuilder
        Returns:
        Whether the value field is set.
      • getValue

        public java.lang.String getValue()
         String representing date value to be compared with the rule variable.
         Supported date format is YYYY-MM-DD.
         Times are reported in the customer's time zone.
         
        optional string value = 4;
        Specified by:
        getValue in interface UserListDateRuleItemInfoOrBuilder
        Returns:
        The value.
      • getValueBytes

        public com.google.protobuf.ByteString getValueBytes()
         String representing date value to be compared with the rule variable.
         Supported date format is YYYY-MM-DD.
         Times are reported in the customer's time zone.
         
        optional string value = 4;
        Specified by:
        getValueBytes in interface UserListDateRuleItemInfoOrBuilder
        Returns:
        The bytes for value.
      • setValue

        public UserListDateRuleItemInfo.Builder setValue​(java.lang.String value)
         String representing date value to be compared with the rule variable.
         Supported date format is YYYY-MM-DD.
         Times are reported in the customer's time zone.
         
        optional string value = 4;
        Parameters:
        value - The value to set.
        Returns:
        This builder for chaining.
      • clearValue

        public UserListDateRuleItemInfo.Builder clearValue()
         String representing date value to be compared with the rule variable.
         Supported date format is YYYY-MM-DD.
         Times are reported in the customer's time zone.
         
        optional string value = 4;
        Returns:
        This builder for chaining.
      • setValueBytes

        public UserListDateRuleItemInfo.Builder setValueBytes​(com.google.protobuf.ByteString value)
         String representing date value to be compared with the rule variable.
         Supported date format is YYYY-MM-DD.
         Times are reported in the customer's time zone.
         
        optional string value = 4;
        Parameters:
        value - The bytes for value to set.
        Returns:
        This builder for chaining.
      • hasOffsetInDays

        public boolean hasOffsetInDays()
         The relative date value of the right hand side denoted by number of days
         offset from now. The value field will override this field when both are
         present.
         
        optional int64 offset_in_days = 5;
        Specified by:
        hasOffsetInDays in interface UserListDateRuleItemInfoOrBuilder
        Returns:
        Whether the offsetInDays field is set.
      • getOffsetInDays

        public long getOffsetInDays()
         The relative date value of the right hand side denoted by number of days
         offset from now. The value field will override this field when both are
         present.
         
        optional int64 offset_in_days = 5;
        Specified by:
        getOffsetInDays in interface UserListDateRuleItemInfoOrBuilder
        Returns:
        The offsetInDays.
      • setOffsetInDays

        public UserListDateRuleItemInfo.Builder setOffsetInDays​(long value)
         The relative date value of the right hand side denoted by number of days
         offset from now. The value field will override this field when both are
         present.
         
        optional int64 offset_in_days = 5;
        Parameters:
        value - The offsetInDays to set.
        Returns:
        This builder for chaining.
      • clearOffsetInDays

        public UserListDateRuleItemInfo.Builder clearOffsetInDays()
         The relative date value of the right hand side denoted by number of days
         offset from now. The value field will override this field when both are
         present.
         
        optional int64 offset_in_days = 5;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final UserListDateRuleItemInfo.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<UserListDateRuleItemInfo.Builder>
      • mergeUnknownFields

        public final UserListDateRuleItemInfo.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<UserListDateRuleItemInfo.Builder>