Class AccessDateRange (0.70.0)

publicfinalclassAccessDateRangeextendsGeneratedMessageV3implementsAccessDateRangeOrBuilder

A contiguous range of days: startDate, startDate + 1, ..., endDate.

Protobuf type google.analytics.admin.v1beta.AccessDateRange

Static Fields

END_DATE_FIELD_NUMBER

publicstaticfinalintEND_DATE_FIELD_NUMBER
Field Value
TypeDescription
int

START_DATE_FIELD_NUMBER

publicstaticfinalintSTART_DATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

publicstaticAccessDateRangegetDefaultInstance()
Returns
TypeDescription
AccessDateRange

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

publicstaticAccessDateRange.BuildernewBuilder()
Returns
TypeDescription
AccessDateRange.Builder

newBuilder(AccessDateRange prototype)

publicstaticAccessDateRange.BuildernewBuilder(AccessDateRangeprototype)
Parameter
NameDescription
prototypeAccessDateRange
Returns
TypeDescription
AccessDateRange.Builder

parseDelimitedFrom(InputStream input)

publicstaticAccessDateRangeparseDelimitedFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AccessDateRange
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticAccessDateRangeparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessDateRange
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

publicstaticAccessDateRangeparseFrom(byte[]data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AccessDateRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticAccessDateRangeparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessDateRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticAccessDateRangeparseFrom(ByteStringdata)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AccessDateRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticAccessDateRangeparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessDateRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticAccessDateRangeparseFrom(CodedInputStreaminput)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AccessDateRange
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticAccessDateRangeparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessDateRange
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

publicstaticAccessDateRangeparseFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AccessDateRange
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticAccessDateRangeparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessDateRange
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

publicstaticAccessDateRangeparseFrom(ByteBufferdata)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AccessDateRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticAccessDateRangeparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessDateRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

publicstaticParser<AccessDateRange>parser()
Returns
TypeDescription
Parser<AccessDateRange>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

publicAccessDateRangegetDefaultInstanceForType()
Returns
TypeDescription
AccessDateRange

getEndDate()

publicStringgetEndDate()

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
TypeDescription
String

The endDate.

getEndDateBytes()

publicByteStringgetEndDateBytes()

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
TypeDescription
ByteString

The bytes for endDate.

getParserForType()

publicParser<AccessDateRange>getParserForType()
Returns
TypeDescription
Parser<AccessDateRange>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
TypeDescription
int
Overrides

getStartDate()

publicStringgetStartDate()

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
TypeDescription
String

The startDate.

getStartDateBytes()

publicByteStringgetStartDateBytes()

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
TypeDescription
ByteString

The bytes for startDate.

hashCode()

publicinthashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

publicAccessDateRange.BuildernewBuilderForType()
Returns
TypeDescription
AccessDateRange.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedAccessDateRange.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AccessDateRange.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

publicAccessDateRange.BuildertoBuilder()
Returns
TypeDescription
AccessDateRange.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException