Class AccessDateRange.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AccessDateRange.Builder>
com.google.analytics.admin.v1beta.AccessDateRange.Builder
All Implemented Interfaces:
AccessDateRangeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AccessDateRange

public static final class AccessDateRange.Builder extends com.google.protobuf.GeneratedMessage.Builder<AccessDateRange.Builder> implements AccessDateRangeOrBuilder
 A contiguous range of days: startDate, startDate + 1, ..., endDate.
 
Protobuf type google.analytics.admin.v1beta.AccessDateRange
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The inclusive end date for the query in the format `YYYY-MM-DD`.
    The inclusive start date for the query in the format `YYYY-MM-DD`.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The inclusive end date for the query in the format `YYYY-MM-DD`.
    com.google.protobuf.ByteString
    The inclusive end date for the query in the format `YYYY-MM-DD`.
    The inclusive start date for the query in the format `YYYY-MM-DD`.
    com.google.protobuf.ByteString
    The inclusive start date for the query in the format `YYYY-MM-DD`.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    The inclusive end date for the query in the format `YYYY-MM-DD`.
    setEndDateBytes(com.google.protobuf.ByteString value)
    The inclusive end date for the query in the format `YYYY-MM-DD`.
    The inclusive start date for the query in the format `YYYY-MM-DD`.
    setStartDateBytes(com.google.protobuf.ByteString value)
    The inclusive start date for the query in the format `YYYY-MM-DD`.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AccessDateRange.Builder>
    • clear

      public AccessDateRange.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.GeneratedMessage.Builder<AccessDateRange.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.GeneratedMessage.Builder<AccessDateRange.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public AccessDateRange.Builder mergeFrom(AccessDateRange other)
    • isInitialized

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

      public AccessDateRange.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<AccessDateRange.Builder>
      Throws:
      IOException
    • getStartDate

      public String getStartDate()
       The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
       be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
       accepted, and in that case, the date is inferred based on the current time
       in the request's time zone.
       
      string start_date = 1;
      Specified by:
      getStartDate in interface AccessDateRangeOrBuilder
      Returns:
      The startDate.
    • getStartDateBytes

      public com.google.protobuf.ByteString getStartDateBytes()
       The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
       be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
       accepted, and in that case, the date is inferred based on the current time
       in the request's time zone.
       
      string start_date = 1;
      Specified by:
      getStartDateBytes in interface AccessDateRangeOrBuilder
      Returns:
      The bytes for startDate.
    • setStartDate

      public AccessDateRange.Builder setStartDate(String value)
       The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
       be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
       accepted, and in that case, the date is inferred based on the current time
       in the request's time zone.
       
      string start_date = 1;
      Parameters:
      value - The startDate to set.
      Returns:
      This builder for chaining.
    • clearStartDate

      public AccessDateRange.Builder clearStartDate()
       The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
       be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
       accepted, and in that case, the date is inferred based on the current time
       in the request's time zone.
       
      string start_date = 1;
      Returns:
      This builder for chaining.
    • setStartDateBytes

      public AccessDateRange.Builder setStartDateBytes(com.google.protobuf.ByteString value)
       The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
       be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
       accepted, and in that case, the date is inferred based on the current time
       in the request's time zone.
       
      string start_date = 1;
      Parameters:
      value - The bytes for startDate to set.
      Returns:
      This builder for chaining.
    • getEndDate

      public String getEndDate()
       The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
       be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
       also accepted, and in that case, the date is inferred based on the current
       time in the request's time zone.
       
      string end_date = 2;
      Specified by:
      getEndDate in interface AccessDateRangeOrBuilder
      Returns:
      The endDate.
    • getEndDateBytes

      public com.google.protobuf.ByteString getEndDateBytes()
       The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
       be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
       also accepted, and in that case, the date is inferred based on the current
       time in the request's time zone.
       
      string end_date = 2;
      Specified by:
      getEndDateBytes in interface AccessDateRangeOrBuilder
      Returns:
      The bytes for endDate.
    • setEndDate

      public AccessDateRange.Builder setEndDate(String value)
       The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
       be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
       also accepted, and in that case, the date is inferred based on the current
       time in the request's time zone.
       
      string end_date = 2;
      Parameters:
      value - The endDate to set.
      Returns:
      This builder for chaining.
    • clearEndDate

      public AccessDateRange.Builder clearEndDate()
       The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
       be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
       also accepted, and in that case, the date is inferred based on the current
       time in the request's time zone.
       
      string end_date = 2;
      Returns:
      This builder for chaining.
    • setEndDateBytes

      public AccessDateRange.Builder setEndDateBytes(com.google.protobuf.ByteString value)
       The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
       be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
       also accepted, and in that case, the date is inferred based on the current
       time in the request's time zone.
       
      string end_date = 2;
      Parameters:
      value - The bytes for endDate to set.
      Returns:
      This builder for chaining.