public static final class CohortsRange.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CohortsRange.Builder> implements CohortsRangeOrBuilder
Configures the extended reporting date range for a cohort report. Specifies an offset duration to follow the cohorts over.Protobuf type
google.analytics.data.v1beta.CohortsRange| Modifier and Type | Method and Description |
|---|---|
CohortsRange.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CohortsRange |
build() |
CohortsRange |
buildPartial() |
CohortsRange.Builder |
clear() |
CohortsRange.Builder |
clearEndOffset()
Required.
|
CohortsRange.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CohortsRange.Builder |
clearGranularity()
Required.
|
CohortsRange.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CohortsRange.Builder |
clearStartOffset()
`startOffset` specifies the start date of the extended reporting date range
for a cohort report.
|
CohortsRange.Builder |
clone() |
CohortsRange |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getEndOffset()
Required.
|
CohortsRange.Granularity |
getGranularity()
Required.
|
int |
getGranularityValue()
Required.
|
int |
getStartOffset()
`startOffset` specifies the start date of the extended reporting date range
for a cohort report.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CohortsRange.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CohortsRange.Builder |
mergeFrom(CohortsRange other) |
CohortsRange.Builder |
mergeFrom(com.google.protobuf.Message other) |
CohortsRange.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CohortsRange.Builder |
setEndOffset(int value)
Required.
|
CohortsRange.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CohortsRange.Builder |
setGranularity(CohortsRange.Granularity value)
Required.
|
CohortsRange.Builder |
setGranularityValue(int value)
Required.
|
CohortsRange.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CohortsRange.Builder |
setStartOffset(int value)
`startOffset` specifies the start date of the extended reporting date range
for a cohort report.
|
CohortsRange.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CohortsRange.Builder>public CohortsRange.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CohortsRange.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CohortsRange.Builder>public CohortsRange getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CohortsRange build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CohortsRange buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CohortsRange.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CohortsRange.Builder>public CohortsRange.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CohortsRange.Builder>public CohortsRange.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CohortsRange.Builder>public CohortsRange.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CohortsRange.Builder>public CohortsRange.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CohortsRange.Builder>public CohortsRange.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CohortsRange.Builder>public CohortsRange.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CohortsRange.Builder>public CohortsRange.Builder mergeFrom(CohortsRange other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CohortsRange.Builder>public CohortsRange.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CohortsRange.Builder>IOExceptionpublic int getGranularityValue()
Required. The granularity used to interpret the `startOffset` and `endOffset` for the extended reporting date range for a cohort report.
.google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1;getGranularityValue in interface CohortsRangeOrBuilderpublic CohortsRange.Builder setGranularityValue(int value)
Required. The granularity used to interpret the `startOffset` and `endOffset` for the extended reporting date range for a cohort report.
.google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1;value - The enum numeric value on the wire for granularity to set.public CohortsRange.Granularity getGranularity()
Required. The granularity used to interpret the `startOffset` and `endOffset` for the extended reporting date range for a cohort report.
.google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1;getGranularity in interface CohortsRangeOrBuilderpublic CohortsRange.Builder setGranularity(CohortsRange.Granularity value)
Required. The granularity used to interpret the `startOffset` and `endOffset` for the extended reporting date range for a cohort report.
.google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1;value - The granularity to set.public CohortsRange.Builder clearGranularity()
Required. The granularity used to interpret the `startOffset` and `endOffset` for the extended reporting date range for a cohort report.
.google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1;public int getStartOffset()
`startOffset` specifies the start date of the extended reporting date range for a cohort report. `startOffset` is commonly set to 0 so that reports contain data from the acquisition of the cohort forward. If `granularity` is `DAILY`, the `startDate` of the extended reporting date range is `startDate` of the cohort plus `startOffset` days. If `granularity` is `WEEKLY`, the `startDate` of the extended reporting date range is `startDate` of the cohort plus `startOffset * 7` days. If `granularity` is `MONTHLY`, the `startDate` of the extended reporting date range is `startDate` of the cohort plus `startOffset * 30` days.
int32 start_offset = 2;getStartOffset in interface CohortsRangeOrBuilderpublic CohortsRange.Builder setStartOffset(int value)
`startOffset` specifies the start date of the extended reporting date range for a cohort report. `startOffset` is commonly set to 0 so that reports contain data from the acquisition of the cohort forward. If `granularity` is `DAILY`, the `startDate` of the extended reporting date range is `startDate` of the cohort plus `startOffset` days. If `granularity` is `WEEKLY`, the `startDate` of the extended reporting date range is `startDate` of the cohort plus `startOffset * 7` days. If `granularity` is `MONTHLY`, the `startDate` of the extended reporting date range is `startDate` of the cohort plus `startOffset * 30` days.
int32 start_offset = 2;value - The startOffset to set.public CohortsRange.Builder clearStartOffset()
`startOffset` specifies the start date of the extended reporting date range for a cohort report. `startOffset` is commonly set to 0 so that reports contain data from the acquisition of the cohort forward. If `granularity` is `DAILY`, the `startDate` of the extended reporting date range is `startDate` of the cohort plus `startOffset` days. If `granularity` is `WEEKLY`, the `startDate` of the extended reporting date range is `startDate` of the cohort plus `startOffset * 7` days. If `granularity` is `MONTHLY`, the `startDate` of the extended reporting date range is `startDate` of the cohort plus `startOffset * 30` days.
int32 start_offset = 2;public int getEndOffset()
Required. `endOffset` specifies the end date of the extended reporting date range for a cohort report. `endOffset` can be any positive integer but is commonly set to 5 to 10 so that reports contain data on the cohort for the next several granularity time periods. If `granularity` is `DAILY`, the `endDate` of the extended reporting date range is `endDate` of the cohort plus `endOffset` days. If `granularity` is `WEEKLY`, the `endDate` of the extended reporting date range is `endDate` of the cohort plus `endOffset * 7` days. If `granularity` is `MONTHLY`, the `endDate` of the extended reporting date range is `endDate` of the cohort plus `endOffset * 30` days.
int32 end_offset = 3;getEndOffset in interface CohortsRangeOrBuilderpublic CohortsRange.Builder setEndOffset(int value)
Required. `endOffset` specifies the end date of the extended reporting date range for a cohort report. `endOffset` can be any positive integer but is commonly set to 5 to 10 so that reports contain data on the cohort for the next several granularity time periods. If `granularity` is `DAILY`, the `endDate` of the extended reporting date range is `endDate` of the cohort plus `endOffset` days. If `granularity` is `WEEKLY`, the `endDate` of the extended reporting date range is `endDate` of the cohort plus `endOffset * 7` days. If `granularity` is `MONTHLY`, the `endDate` of the extended reporting date range is `endDate` of the cohort plus `endOffset * 30` days.
int32 end_offset = 3;value - The endOffset to set.public CohortsRange.Builder clearEndOffset()
Required. `endOffset` specifies the end date of the extended reporting date range for a cohort report. `endOffset` can be any positive integer but is commonly set to 5 to 10 so that reports contain data on the cohort for the next several granularity time periods. If `granularity` is `DAILY`, the `endDate` of the extended reporting date range is `endDate` of the cohort plus `endOffset` days. If `granularity` is `WEEKLY`, the `endDate` of the extended reporting date range is `endDate` of the cohort plus `endOffset * 7` days. If `granularity` is `MONTHLY`, the `endDate` of the extended reporting date range is `endDate` of the cohort plus `endOffset * 30` days.
int32 end_offset = 3;public final CohortsRange.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CohortsRange.Builder>public final CohortsRange.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CohortsRange.Builder>Copyright © 2022 Google LLC. All rights reserved.