public static final class AccessDateRange.Builder extends GeneratedMessageV3.Builder<AccessDateRange.Builder> implements AccessDateRangeOrBuilder
A contiguous range of days: startDate, startDate + 1, ..., endDate.
Protobuf type google.analytics.admin.v1beta.AccessDateRange
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AccessDateRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AccessDateRange build()
buildPartial()
public AccessDateRange buildPartial()
clear()
public AccessDateRange.Builder clear()
Overrides
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;
clearField(Descriptors.FieldDescriptor field)
public AccessDateRange.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AccessDateRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clone()
public AccessDateRange.Builder clone()
Overrides
getDefaultInstanceForType()
public AccessDateRange getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
Returns |
Type |
Description |
String |
The endDate.
|
getEndDateBytes()
public 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;
Returns |
Type |
Description |
ByteString |
The bytes for endDate.
|
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;
Returns |
Type |
Description |
String |
The startDate.
|
getStartDateBytes()
public 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;
Returns |
Type |
Description |
ByteString |
The bytes for startDate.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AccessDateRange other)
public AccessDateRange.Builder mergeFrom(AccessDateRange other)
public AccessDateRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AccessDateRange.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AccessDateRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEndDate(String value)
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;
Parameter |
Name |
Description |
value |
String
The endDate to set.
|
setEndDateBytes(ByteString value)
public AccessDateRange.Builder setEndDateBytes(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;
Parameter |
Name |
Description |
value |
ByteString
The bytes for endDate to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public AccessDateRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AccessDateRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStartDate(String value)
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;
Parameter |
Name |
Description |
value |
String
The startDate to set.
|
setStartDateBytes(ByteString value)
public AccessDateRange.Builder setStartDateBytes(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;
Parameter |
Name |
Description |
value |
ByteString
The bytes for startDate to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final AccessDateRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides