Package com.google.analytics.data.v1beta
Interface DateRangeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DateRange,DateRange.Builder
@Generated
public interface DateRangeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe inclusive end date for the query in the format `YYYY-MM-DD`.com.google.protobuf.ByteStringThe inclusive end date for the query in the format `YYYY-MM-DD`.getName()Assigns a name to this date range.com.google.protobuf.ByteStringAssigns a name to this date range.The inclusive start date for the query in the format `YYYY-MM-DD`.com.google.protobuf.ByteStringThe inclusive start date for the query in the format `YYYY-MM-DD`.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getStartDate
String getStartDate()The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also accepted, and in that case, the date is inferred based on the property's reporting time zone.
string start_date = 1;- Returns:
- The startDate.
-
getStartDateBytes
com.google.protobuf.ByteString getStartDateBytes()The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also accepted, and in that case, the date is inferred based on the property's reporting time zone.
string start_date = 1;- Returns:
- The bytes for startDate.
-
getEndDate
String getEndDate()The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is also accepted, and in that case, the date is inferred based on the property's reporting time zone.
string end_date = 2;- Returns:
- The endDate.
-
getEndDateBytes
com.google.protobuf.ByteString getEndDateBytes()The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is also accepted, and in that case, the date is inferred based on the property's reporting time zone.
string end_date = 2;- Returns:
- The bytes for endDate.
-
getName
String getName()Assigns a name to this date range. The dimension `dateRange` is valued to this name in a report response. If set, cannot begin with `date_range_` or `RESERVED_`. If not set, date ranges are named by their zero based index in the request: `date_range_0`, `date_range_1`, etc.
string name = 3;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Assigns a name to this date range. The dimension `dateRange` is valued to this name in a report response. If set, cannot begin with `date_range_` or `RESERVED_`. If not set, date ranges are named by their zero based index in the request: `date_range_0`, `date_range_1`, etc.
string name = 3;- Returns:
- The bytes for name.
-