Class SmartCampaignEligibleDetails.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignEligibleDetails.Builder>
com.google.ads.googleads.v18.services.SmartCampaignEligibleDetails.Builder
All Implemented Interfaces:
SmartCampaignEligibleDetailsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SmartCampaignEligibleDetails

public static final class SmartCampaignEligibleDetails.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignEligibleDetails.Builder> implements SmartCampaignEligibleDetailsOrBuilder
 Details related to Smart campaigns that are eligible to serve.
 
Protobuf type google.ads.googleads.v18.services.SmartCampaignEligibleDetails
  • 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<SmartCampaignEligibleDetails.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<SmartCampaignEligibleDetails.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<SmartCampaignEligibleDetails.Builder>
    • getDefaultInstanceForType

      public SmartCampaignEligibleDetails 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 SmartCampaignEligibleDetails 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<SmartCampaignEligibleDetails.Builder>
    • setField

      public SmartCampaignEligibleDetails.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<SmartCampaignEligibleDetails.Builder>
    • clearField

      public SmartCampaignEligibleDetails.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<SmartCampaignEligibleDetails.Builder>
    • clearOneof

      public SmartCampaignEligibleDetails.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<SmartCampaignEligibleDetails.Builder>
    • setRepeatedField

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

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

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

      public SmartCampaignEligibleDetails.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<SmartCampaignEligibleDetails.Builder>
      Throws:
      IOException
    • hasLastImpressionDateTime

      public boolean hasLastImpressionDateTime()
       The timestamp of the last impression observed in the last 48 hours for this
       campaign.
       The timestamp is in the customer’s timezone and in
       “yyyy-MM-dd HH:mm:ss” format.
       
      optional string last_impression_date_time = 1;
      Specified by:
      hasLastImpressionDateTime in interface SmartCampaignEligibleDetailsOrBuilder
      Returns:
      Whether the lastImpressionDateTime field is set.
    • getLastImpressionDateTime

      public String getLastImpressionDateTime()
       The timestamp of the last impression observed in the last 48 hours for this
       campaign.
       The timestamp is in the customer’s timezone and in
       “yyyy-MM-dd HH:mm:ss” format.
       
      optional string last_impression_date_time = 1;
      Specified by:
      getLastImpressionDateTime in interface SmartCampaignEligibleDetailsOrBuilder
      Returns:
      The lastImpressionDateTime.
    • getLastImpressionDateTimeBytes

      public com.google.protobuf.ByteString getLastImpressionDateTimeBytes()
       The timestamp of the last impression observed in the last 48 hours for this
       campaign.
       The timestamp is in the customer’s timezone and in
       “yyyy-MM-dd HH:mm:ss” format.
       
      optional string last_impression_date_time = 1;
      Specified by:
      getLastImpressionDateTimeBytes in interface SmartCampaignEligibleDetailsOrBuilder
      Returns:
      The bytes for lastImpressionDateTime.
    • setLastImpressionDateTime

      public SmartCampaignEligibleDetails.Builder setLastImpressionDateTime(String value)
       The timestamp of the last impression observed in the last 48 hours for this
       campaign.
       The timestamp is in the customer’s timezone and in
       “yyyy-MM-dd HH:mm:ss” format.
       
      optional string last_impression_date_time = 1;
      Parameters:
      value - The lastImpressionDateTime to set.
      Returns:
      This builder for chaining.
    • clearLastImpressionDateTime

      public SmartCampaignEligibleDetails.Builder clearLastImpressionDateTime()
       The timestamp of the last impression observed in the last 48 hours for this
       campaign.
       The timestamp is in the customer’s timezone and in
       “yyyy-MM-dd HH:mm:ss” format.
       
      optional string last_impression_date_time = 1;
      Returns:
      This builder for chaining.
    • setLastImpressionDateTimeBytes

      public SmartCampaignEligibleDetails.Builder setLastImpressionDateTimeBytes(com.google.protobuf.ByteString value)
       The timestamp of the last impression observed in the last 48 hours for this
       campaign.
       The timestamp is in the customer’s timezone and in
       “yyyy-MM-dd HH:mm:ss” format.
       
      optional string last_impression_date_time = 1;
      Parameters:
      value - The bytes for lastImpressionDateTime to set.
      Returns:
      This builder for chaining.
    • hasEndDateTime

      public boolean hasEndDateTime()
       The timestamp of when the campaign will end, if applicable.
       The timestamp is in the customer’s timezone and in
       “yyyy-MM-dd HH:mm:ss” format.
       
      optional string end_date_time = 2;
      Specified by:
      hasEndDateTime in interface SmartCampaignEligibleDetailsOrBuilder
      Returns:
      Whether the endDateTime field is set.
    • getEndDateTime

      public String getEndDateTime()
       The timestamp of when the campaign will end, if applicable.
       The timestamp is in the customer’s timezone and in
       “yyyy-MM-dd HH:mm:ss” format.
       
      optional string end_date_time = 2;
      Specified by:
      getEndDateTime in interface SmartCampaignEligibleDetailsOrBuilder
      Returns:
      The endDateTime.
    • getEndDateTimeBytes

      public com.google.protobuf.ByteString getEndDateTimeBytes()
       The timestamp of when the campaign will end, if applicable.
       The timestamp is in the customer’s timezone and in
       “yyyy-MM-dd HH:mm:ss” format.
       
      optional string end_date_time = 2;
      Specified by:
      getEndDateTimeBytes in interface SmartCampaignEligibleDetailsOrBuilder
      Returns:
      The bytes for endDateTime.
    • setEndDateTime

      public SmartCampaignEligibleDetails.Builder setEndDateTime(String value)
       The timestamp of when the campaign will end, if applicable.
       The timestamp is in the customer’s timezone and in
       “yyyy-MM-dd HH:mm:ss” format.
       
      optional string end_date_time = 2;
      Parameters:
      value - The endDateTime to set.
      Returns:
      This builder for chaining.
    • clearEndDateTime

      public SmartCampaignEligibleDetails.Builder clearEndDateTime()
       The timestamp of when the campaign will end, if applicable.
       The timestamp is in the customer’s timezone and in
       “yyyy-MM-dd HH:mm:ss” format.
       
      optional string end_date_time = 2;
      Returns:
      This builder for chaining.
    • setEndDateTimeBytes

      public SmartCampaignEligibleDetails.Builder setEndDateTimeBytes(com.google.protobuf.ByteString value)
       The timestamp of when the campaign will end, if applicable.
       The timestamp is in the customer’s timezone and in
       “yyyy-MM-dd HH:mm:ss” format.
       
      optional string end_date_time = 2;
      Parameters:
      value - The bytes for endDateTime to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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