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.v1alpha.AccessDateRange
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AccessDateRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AccessDateRange build()
Returns
buildPartial()
public AccessDateRange buildPartial()
Returns
clear()
public AccessDateRange.Builder clear()
Returns
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public AccessDateRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AccessDateRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
clone()
public AccessDateRange.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AccessDateRange getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AccessDateRange other)
public AccessDateRange.Builder mergeFrom(AccessDateRange other)
Parameter
Returns
public AccessDateRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AccessDateRange.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AccessDateRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AccessDateRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AccessDateRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final AccessDateRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides