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

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

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

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

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

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

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

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

        public boolean hasRule()
         Boolean rule that defines visitor of a page.
         Required for creating a date specific rule user list.
         
        .google.ads.googleads.v10.common.UserListRuleInfo rule = 1;
        Specified by:
        hasRule in interface DateSpecificRuleUserListInfoOrBuilder
        Returns:
        Whether the rule field is set.
      • clearRule

        public DateSpecificRuleUserListInfo.Builder clearRule()
         Boolean rule that defines visitor of a page.
         Required for creating a date specific rule user list.
         
        .google.ads.googleads.v10.common.UserListRuleInfo rule = 1;
      • getRuleBuilder

        public UserListRuleInfo.Builder getRuleBuilder()
         Boolean rule that defines visitor of a page.
         Required for creating a date specific rule user list.
         
        .google.ads.googleads.v10.common.UserListRuleInfo rule = 1;
      • hasStartDate

        public boolean hasStartDate()
         Start date of users visit. If set to 2000-01-01, then the list includes all
         users before end_date. The date's format should be YYYY-MM-DD.
         Required for creating a data specific rule user list.
         
        optional string start_date = 4;
        Specified by:
        hasStartDate in interface DateSpecificRuleUserListInfoOrBuilder
        Returns:
        Whether the startDate field is set.
      • getStartDate

        public java.lang.String getStartDate()
         Start date of users visit. If set to 2000-01-01, then the list includes all
         users before end_date. The date's format should be YYYY-MM-DD.
         Required for creating a data specific rule user list.
         
        optional string start_date = 4;
        Specified by:
        getStartDate in interface DateSpecificRuleUserListInfoOrBuilder
        Returns:
        The startDate.
      • getStartDateBytes

        public com.google.protobuf.ByteString getStartDateBytes()
         Start date of users visit. If set to 2000-01-01, then the list includes all
         users before end_date. The date's format should be YYYY-MM-DD.
         Required for creating a data specific rule user list.
         
        optional string start_date = 4;
        Specified by:
        getStartDateBytes in interface DateSpecificRuleUserListInfoOrBuilder
        Returns:
        The bytes for startDate.
      • setStartDate

        public DateSpecificRuleUserListInfo.Builder setStartDate​(java.lang.String value)
         Start date of users visit. If set to 2000-01-01, then the list includes all
         users before end_date. The date's format should be YYYY-MM-DD.
         Required for creating a data specific rule user list.
         
        optional string start_date = 4;
        Parameters:
        value - The startDate to set.
        Returns:
        This builder for chaining.
      • clearStartDate

        public DateSpecificRuleUserListInfo.Builder clearStartDate()
         Start date of users visit. If set to 2000-01-01, then the list includes all
         users before end_date. The date's format should be YYYY-MM-DD.
         Required for creating a data specific rule user list.
         
        optional string start_date = 4;
        Returns:
        This builder for chaining.
      • setStartDateBytes

        public DateSpecificRuleUserListInfo.Builder setStartDateBytes​(com.google.protobuf.ByteString value)
         Start date of users visit. If set to 2000-01-01, then the list includes all
         users before end_date. The date's format should be YYYY-MM-DD.
         Required for creating a data specific rule user list.
         
        optional string start_date = 4;
        Parameters:
        value - The bytes for startDate to set.
        Returns:
        This builder for chaining.
      • hasEndDate

        public boolean hasEndDate()
         Last date of users visit. If set to 2037-12-30, then the list includes all
         users after start_date. The date's format should be YYYY-MM-DD.
         Required for creating a data specific rule user list.
         
        optional string end_date = 5;
        Specified by:
        hasEndDate in interface DateSpecificRuleUserListInfoOrBuilder
        Returns:
        Whether the endDate field is set.
      • getEndDate

        public java.lang.String getEndDate()
         Last date of users visit. If set to 2037-12-30, then the list includes all
         users after start_date. The date's format should be YYYY-MM-DD.
         Required for creating a data specific rule user list.
         
        optional string end_date = 5;
        Specified by:
        getEndDate in interface DateSpecificRuleUserListInfoOrBuilder
        Returns:
        The endDate.
      • getEndDateBytes

        public com.google.protobuf.ByteString getEndDateBytes()
         Last date of users visit. If set to 2037-12-30, then the list includes all
         users after start_date. The date's format should be YYYY-MM-DD.
         Required for creating a data specific rule user list.
         
        optional string end_date = 5;
        Specified by:
        getEndDateBytes in interface DateSpecificRuleUserListInfoOrBuilder
        Returns:
        The bytes for endDate.
      • setEndDate

        public DateSpecificRuleUserListInfo.Builder setEndDate​(java.lang.String value)
         Last date of users visit. If set to 2037-12-30, then the list includes all
         users after start_date. The date's format should be YYYY-MM-DD.
         Required for creating a data specific rule user list.
         
        optional string end_date = 5;
        Parameters:
        value - The endDate to set.
        Returns:
        This builder for chaining.
      • clearEndDate

        public DateSpecificRuleUserListInfo.Builder clearEndDate()
         Last date of users visit. If set to 2037-12-30, then the list includes all
         users after start_date. The date's format should be YYYY-MM-DD.
         Required for creating a data specific rule user list.
         
        optional string end_date = 5;
        Returns:
        This builder for chaining.
      • setEndDateBytes

        public DateSpecificRuleUserListInfo.Builder setEndDateBytes​(com.google.protobuf.ByteString value)
         Last date of users visit. If set to 2037-12-30, then the list includes all
         users after start_date. The date's format should be YYYY-MM-DD.
         Required for creating a data specific rule user list.
         
        optional string end_date = 5;
        Parameters:
        value - The bytes for endDate to set.
        Returns:
        This builder for chaining.