Class ResponseMetaData.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.Builder>
com.google.analytics.data.v1alpha.ResponseMetaData.Builder
- All Implemented Interfaces:
ResponseMetaDataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ResponseMetaData
public static final class ResponseMetaData.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.Builder>
implements ResponseMetaDataOrBuilder
Response's metadata carrying additional information about the report content.Protobuf type
google.analytics.data.v1alpha.ResponseMetaData-
Method Summary
Modifier and TypeMethodDescriptionaddAllSamplingMetadatas(Iterable<? extends SamplingMetadata> values) If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report.addSamplingMetadatas(int index, SamplingMetadata value) If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report.addSamplingMetadatas(int index, SamplingMetadata.Builder builderForValue) If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report.If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report.addSamplingMetadatas(SamplingMetadata.Builder builderForValue) If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report.If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report.addSamplingMetadatasBuilder(int index) If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report.build()clear()The currency code used in this report.If true, indicates some buckets of dimension combinations are rolled into "(other)" row.If empty reason is specified, the report is empty for this reason.If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report.Describes the schema restrictions actively enforced in creating this report.Identifies the type of data in the report.If `subjectToThresholding` is true, this report is subject to thresholding and only returns data that meets the minimum aggregation thresholds.The property's current timezone.The currency code used in this report.com.google.protobuf.ByteStringThe currency code used in this report.booleanIf true, indicates some buckets of dimension combinations are rolled into "(other)" row.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf empty reason is specified, the report is empty for this reason.com.google.protobuf.ByteStringIf empty reason is specified, the report is empty for this reason.getSamplingMetadatas(int index) If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report.getSamplingMetadatasBuilder(int index) If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report.If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report.intIf this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report.If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report.getSamplingMetadatasOrBuilder(int index) If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report.List<? extends SamplingMetadataOrBuilder>If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report.Describes the schema restrictions actively enforced in creating this report.Describes the schema restrictions actively enforced in creating this report.Describes the schema restrictions actively enforced in creating this report.Identifies the type of data in the report.intIdentifies the type of data in the report.booleanIf `subjectToThresholding` is true, this report is subject to thresholding and only returns data that meets the minimum aggregation thresholds.The property's current timezone.com.google.protobuf.ByteStringThe property's current timezone.booleanThe currency code used in this report.booleanIf empty reason is specified, the report is empty for this reason.booleanDescribes the schema restrictions actively enforced in creating this report.booleanIf `subjectToThresholding` is true, this report is subject to thresholding and only returns data that meets the minimum aggregation thresholds.booleanThe property's current timezone.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ResponseMetaData other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Describes the schema restrictions actively enforced in creating this report.removeSamplingMetadatas(int index) If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report.setCurrencyCode(String value) The currency code used in this report.setCurrencyCodeBytes(com.google.protobuf.ByteString value) The currency code used in this report.setDataLossFromOtherRow(boolean value) If true, indicates some buckets of dimension combinations are rolled into "(other)" row.setEmptyReason(String value) If empty reason is specified, the report is empty for this reason.setEmptyReasonBytes(com.google.protobuf.ByteString value) If empty reason is specified, the report is empty for this reason.setSamplingMetadatas(int index, SamplingMetadata value) If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report.setSamplingMetadatas(int index, SamplingMetadata.Builder builderForValue) If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report.Describes the schema restrictions actively enforced in creating this report.Describes the schema restrictions actively enforced in creating this report.setSection(Section value) Identifies the type of data in the report.setSectionValue(int value) Identifies the type of data in the report.setSubjectToThresholding(boolean value) If `subjectToThresholding` is true, this report is subject to thresholding and only returns data that meets the minimum aggregation thresholds.setTimeZone(String value) The property's current timezone.setTimeZoneBytes(com.google.protobuf.ByteString value) The property's current timezone.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResponseMetaData.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.Builder>
-
mergeFrom
public ResponseMetaData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResponseMetaData.Builder>- Throws:
IOException
-
getDataLossFromOtherRow
public boolean getDataLossFromOtherRow()If true, indicates some buckets of dimension combinations are rolled into "(other)" row. This can happen for high cardinality reports. The metadata parameter dataLossFromOtherRow is populated based on the aggregated data table used in the report. The parameter will be accurately populated regardless of the filters and limits in the report. For example, the (other) row could be dropped from the report because the request contains a filter on sessionSource = google. This parameter will still be populated if data loss from other row was present in the input aggregate data used to generate this report. To learn more, see [About the (other) row and data sampling](https://support.google.com/analytics/answer/13208658#reports).
bool data_loss_from_other_row = 3;- Specified by:
getDataLossFromOtherRowin interfaceResponseMetaDataOrBuilder- Returns:
- The dataLossFromOtherRow.
-
setDataLossFromOtherRow
If true, indicates some buckets of dimension combinations are rolled into "(other)" row. This can happen for high cardinality reports. The metadata parameter dataLossFromOtherRow is populated based on the aggregated data table used in the report. The parameter will be accurately populated regardless of the filters and limits in the report. For example, the (other) row could be dropped from the report because the request contains a filter on sessionSource = google. This parameter will still be populated if data loss from other row was present in the input aggregate data used to generate this report. To learn more, see [About the (other) row and data sampling](https://support.google.com/analytics/answer/13208658#reports).
bool data_loss_from_other_row = 3;- Parameters:
value- The dataLossFromOtherRow to set.- Returns:
- This builder for chaining.
-
clearDataLossFromOtherRow
If true, indicates some buckets of dimension combinations are rolled into "(other)" row. This can happen for high cardinality reports. The metadata parameter dataLossFromOtherRow is populated based on the aggregated data table used in the report. The parameter will be accurately populated regardless of the filters and limits in the report. For example, the (other) row could be dropped from the report because the request contains a filter on sessionSource = google. This parameter will still be populated if data loss from other row was present in the input aggregate data used to generate this report. To learn more, see [About the (other) row and data sampling](https://support.google.com/analytics/answer/13208658#reports).
bool data_loss_from_other_row = 3;- Returns:
- This builder for chaining.
-
hasSchemaRestrictionResponse
public boolean hasSchemaRestrictionResponse()Describes the schema restrictions actively enforced in creating this report. To learn more, see [Access and data-restriction management](https://support.google.com/analytics/answer/10851388).
optional .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4;- Specified by:
hasSchemaRestrictionResponsein interfaceResponseMetaDataOrBuilder- Returns:
- Whether the schemaRestrictionResponse field is set.
-
getSchemaRestrictionResponse
Describes the schema restrictions actively enforced in creating this report. To learn more, see [Access and data-restriction management](https://support.google.com/analytics/answer/10851388).
optional .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4;- Specified by:
getSchemaRestrictionResponsein interfaceResponseMetaDataOrBuilder- Returns:
- The schemaRestrictionResponse.
-
setSchemaRestrictionResponse
public ResponseMetaData.Builder setSchemaRestrictionResponse(ResponseMetaData.SchemaRestrictionResponse value) Describes the schema restrictions actively enforced in creating this report. To learn more, see [Access and data-restriction management](https://support.google.com/analytics/answer/10851388).
optional .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4; -
setSchemaRestrictionResponse
public ResponseMetaData.Builder setSchemaRestrictionResponse(ResponseMetaData.SchemaRestrictionResponse.Builder builderForValue) Describes the schema restrictions actively enforced in creating this report. To learn more, see [Access and data-restriction management](https://support.google.com/analytics/answer/10851388).
optional .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4; -
mergeSchemaRestrictionResponse
public ResponseMetaData.Builder mergeSchemaRestrictionResponse(ResponseMetaData.SchemaRestrictionResponse value) Describes the schema restrictions actively enforced in creating this report. To learn more, see [Access and data-restriction management](https://support.google.com/analytics/answer/10851388).
optional .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4; -
clearSchemaRestrictionResponse
Describes the schema restrictions actively enforced in creating this report. To learn more, see [Access and data-restriction management](https://support.google.com/analytics/answer/10851388).
optional .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4; -
getSchemaRestrictionResponseBuilder
Describes the schema restrictions actively enforced in creating this report. To learn more, see [Access and data-restriction management](https://support.google.com/analytics/answer/10851388).
optional .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4; -
getSchemaRestrictionResponseOrBuilder
Describes the schema restrictions actively enforced in creating this report. To learn more, see [Access and data-restriction management](https://support.google.com/analytics/answer/10851388).
optional .google.analytics.data.v1alpha.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4;- Specified by:
getSchemaRestrictionResponseOrBuilderin interfaceResponseMetaDataOrBuilder
-
hasCurrencyCode
public boolean hasCurrencyCode()The currency code used in this report. Intended to be used in formatting currency metrics like `purchaseRevenue` for visualization. If currency_code was specified in the request, this response parameter will echo the request parameter; otherwise, this response parameter is the property's current currency_code. Currency codes are string encodings of currency types from the ISO 4217 standard (https://en.wikipedia.org/wiki/ISO_4217); for example "USD", "EUR", "JPY". To learn more, see https://support.google.com/analytics/answer/9796179.
optional string currency_code = 5;- Specified by:
hasCurrencyCodein interfaceResponseMetaDataOrBuilder- Returns:
- Whether the currencyCode field is set.
-
getCurrencyCode
The currency code used in this report. Intended to be used in formatting currency metrics like `purchaseRevenue` for visualization. If currency_code was specified in the request, this response parameter will echo the request parameter; otherwise, this response parameter is the property's current currency_code. Currency codes are string encodings of currency types from the ISO 4217 standard (https://en.wikipedia.org/wiki/ISO_4217); for example "USD", "EUR", "JPY". To learn more, see https://support.google.com/analytics/answer/9796179.
optional string currency_code = 5;- Specified by:
getCurrencyCodein interfaceResponseMetaDataOrBuilder- Returns:
- The currencyCode.
-
getCurrencyCodeBytes
public com.google.protobuf.ByteString getCurrencyCodeBytes()The currency code used in this report. Intended to be used in formatting currency metrics like `purchaseRevenue` for visualization. If currency_code was specified in the request, this response parameter will echo the request parameter; otherwise, this response parameter is the property's current currency_code. Currency codes are string encodings of currency types from the ISO 4217 standard (https://en.wikipedia.org/wiki/ISO_4217); for example "USD", "EUR", "JPY". To learn more, see https://support.google.com/analytics/answer/9796179.
optional string currency_code = 5;- Specified by:
getCurrencyCodeBytesin interfaceResponseMetaDataOrBuilder- Returns:
- The bytes for currencyCode.
-
setCurrencyCode
The currency code used in this report. Intended to be used in formatting currency metrics like `purchaseRevenue` for visualization. If currency_code was specified in the request, this response parameter will echo the request parameter; otherwise, this response parameter is the property's current currency_code. Currency codes are string encodings of currency types from the ISO 4217 standard (https://en.wikipedia.org/wiki/ISO_4217); for example "USD", "EUR", "JPY". To learn more, see https://support.google.com/analytics/answer/9796179.
optional string currency_code = 5;- Parameters:
value- The currencyCode to set.- Returns:
- This builder for chaining.
-
clearCurrencyCode
The currency code used in this report. Intended to be used in formatting currency metrics like `purchaseRevenue` for visualization. If currency_code was specified in the request, this response parameter will echo the request parameter; otherwise, this response parameter is the property's current currency_code. Currency codes are string encodings of currency types from the ISO 4217 standard (https://en.wikipedia.org/wiki/ISO_4217); for example "USD", "EUR", "JPY". To learn more, see https://support.google.com/analytics/answer/9796179.
optional string currency_code = 5;- Returns:
- This builder for chaining.
-
setCurrencyCodeBytes
The currency code used in this report. Intended to be used in formatting currency metrics like `purchaseRevenue` for visualization. If currency_code was specified in the request, this response parameter will echo the request parameter; otherwise, this response parameter is the property's current currency_code. Currency codes are string encodings of currency types from the ISO 4217 standard (https://en.wikipedia.org/wiki/ISO_4217); for example "USD", "EUR", "JPY". To learn more, see https://support.google.com/analytics/answer/9796179.
optional string currency_code = 5;- Parameters:
value- The bytes for currencyCode to set.- Returns:
- This builder for chaining.
-
hasTimeZone
public boolean hasTimeZone()The property's current timezone. Intended to be used to interpret time-based dimensions like `hour` and `minute`. Formatted as strings from the IANA Time Zone database (https://www.iana.org/time-zones); for example "America/New_York" or "Asia/Tokyo".
optional string time_zone = 6;- Specified by:
hasTimeZonein interfaceResponseMetaDataOrBuilder- Returns:
- Whether the timeZone field is set.
-
getTimeZone
The property's current timezone. Intended to be used to interpret time-based dimensions like `hour` and `minute`. Formatted as strings from the IANA Time Zone database (https://www.iana.org/time-zones); for example "America/New_York" or "Asia/Tokyo".
optional string time_zone = 6;- Specified by:
getTimeZonein interfaceResponseMetaDataOrBuilder- Returns:
- The timeZone.
-
getTimeZoneBytes
public com.google.protobuf.ByteString getTimeZoneBytes()The property's current timezone. Intended to be used to interpret time-based dimensions like `hour` and `minute`. Formatted as strings from the IANA Time Zone database (https://www.iana.org/time-zones); for example "America/New_York" or "Asia/Tokyo".
optional string time_zone = 6;- Specified by:
getTimeZoneBytesin interfaceResponseMetaDataOrBuilder- Returns:
- The bytes for timeZone.
-
setTimeZone
The property's current timezone. Intended to be used to interpret time-based dimensions like `hour` and `minute`. Formatted as strings from the IANA Time Zone database (https://www.iana.org/time-zones); for example "America/New_York" or "Asia/Tokyo".
optional string time_zone = 6;- Parameters:
value- The timeZone to set.- Returns:
- This builder for chaining.
-
clearTimeZone
The property's current timezone. Intended to be used to interpret time-based dimensions like `hour` and `minute`. Formatted as strings from the IANA Time Zone database (https://www.iana.org/time-zones); for example "America/New_York" or "Asia/Tokyo".
optional string time_zone = 6;- Returns:
- This builder for chaining.
-
setTimeZoneBytes
The property's current timezone. Intended to be used to interpret time-based dimensions like `hour` and `minute`. Formatted as strings from the IANA Time Zone database (https://www.iana.org/time-zones); for example "America/New_York" or "Asia/Tokyo".
optional string time_zone = 6;- Parameters:
value- The bytes for timeZone to set.- Returns:
- This builder for chaining.
-
hasEmptyReason
public boolean hasEmptyReason()If empty reason is specified, the report is empty for this reason.
optional string empty_reason = 7;- Specified by:
hasEmptyReasonin interfaceResponseMetaDataOrBuilder- Returns:
- Whether the emptyReason field is set.
-
getEmptyReason
If empty reason is specified, the report is empty for this reason.
optional string empty_reason = 7;- Specified by:
getEmptyReasonin interfaceResponseMetaDataOrBuilder- Returns:
- The emptyReason.
-
getEmptyReasonBytes
public com.google.protobuf.ByteString getEmptyReasonBytes()If empty reason is specified, the report is empty for this reason.
optional string empty_reason = 7;- Specified by:
getEmptyReasonBytesin interfaceResponseMetaDataOrBuilder- Returns:
- The bytes for emptyReason.
-
setEmptyReason
If empty reason is specified, the report is empty for this reason.
optional string empty_reason = 7;- Parameters:
value- The emptyReason to set.- Returns:
- This builder for chaining.
-
clearEmptyReason
If empty reason is specified, the report is empty for this reason.
optional string empty_reason = 7;- Returns:
- This builder for chaining.
-
setEmptyReasonBytes
If empty reason is specified, the report is empty for this reason.
optional string empty_reason = 7;- Parameters:
value- The bytes for emptyReason to set.- Returns:
- This builder for chaining.
-
hasSubjectToThresholding
public boolean hasSubjectToThresholding()If `subjectToThresholding` is true, this report is subject to thresholding and only returns data that meets the minimum aggregation thresholds. It is possible for a request to be subject to thresholding thresholding and no data is absent from the report, and this happens when all data is above the thresholds. To learn more, see [Data thresholds](https://support.google.com/analytics/answer/9383630) and [About Demographics and Interests](https://support.google.com/analytics/answer/2799357).
optional bool subject_to_thresholding = 8;- Specified by:
hasSubjectToThresholdingin interfaceResponseMetaDataOrBuilder- Returns:
- Whether the subjectToThresholding field is set.
-
getSubjectToThresholding
public boolean getSubjectToThresholding()If `subjectToThresholding` is true, this report is subject to thresholding and only returns data that meets the minimum aggregation thresholds. It is possible for a request to be subject to thresholding thresholding and no data is absent from the report, and this happens when all data is above the thresholds. To learn more, see [Data thresholds](https://support.google.com/analytics/answer/9383630) and [About Demographics and Interests](https://support.google.com/analytics/answer/2799357).
optional bool subject_to_thresholding = 8;- Specified by:
getSubjectToThresholdingin interfaceResponseMetaDataOrBuilder- Returns:
- The subjectToThresholding.
-
setSubjectToThresholding
If `subjectToThresholding` is true, this report is subject to thresholding and only returns data that meets the minimum aggregation thresholds. It is possible for a request to be subject to thresholding thresholding and no data is absent from the report, and this happens when all data is above the thresholds. To learn more, see [Data thresholds](https://support.google.com/analytics/answer/9383630) and [About Demographics and Interests](https://support.google.com/analytics/answer/2799357).
optional bool subject_to_thresholding = 8;- Parameters:
value- The subjectToThresholding to set.- Returns:
- This builder for chaining.
-
clearSubjectToThresholding
If `subjectToThresholding` is true, this report is subject to thresholding and only returns data that meets the minimum aggregation thresholds. It is possible for a request to be subject to thresholding thresholding and no data is absent from the report, and this happens when all data is above the thresholds. To learn more, see [Data thresholds](https://support.google.com/analytics/answer/9383630) and [About Demographics and Interests](https://support.google.com/analytics/answer/2799357).
optional bool subject_to_thresholding = 8;- Returns:
- This builder for chaining.
-
getSamplingMetadatasList
If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.
repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 9;- Specified by:
getSamplingMetadatasListin interfaceResponseMetaDataOrBuilder
-
getSamplingMetadatasCount
public int getSamplingMetadatasCount()If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.
repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 9;- Specified by:
getSamplingMetadatasCountin interfaceResponseMetaDataOrBuilder
-
getSamplingMetadatas
If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.
repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 9;- Specified by:
getSamplingMetadatasin interfaceResponseMetaDataOrBuilder
-
setSamplingMetadatas
If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.
repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 9; -
setSamplingMetadatas
public ResponseMetaData.Builder setSamplingMetadatas(int index, SamplingMetadata.Builder builderForValue) If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.
repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 9; -
addSamplingMetadatas
If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.
repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 9; -
addSamplingMetadatas
If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.
repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 9; -
addSamplingMetadatas
If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.
repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 9; -
addSamplingMetadatas
public ResponseMetaData.Builder addSamplingMetadatas(int index, SamplingMetadata.Builder builderForValue) If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.
repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 9; -
addAllSamplingMetadatas
public ResponseMetaData.Builder addAllSamplingMetadatas(Iterable<? extends SamplingMetadata> values) If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.
repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 9; -
clearSamplingMetadatas
If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.
repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 9; -
removeSamplingMetadatas
If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.
repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 9; -
getSamplingMetadatasBuilder
If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.
repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 9; -
getSamplingMetadatasOrBuilder
If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.
repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 9;- Specified by:
getSamplingMetadatasOrBuilderin interfaceResponseMetaDataOrBuilder
-
getSamplingMetadatasOrBuilderList
If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.
repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 9;- Specified by:
getSamplingMetadatasOrBuilderListin interfaceResponseMetaDataOrBuilder
-
addSamplingMetadatasBuilder
If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.
repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 9; -
addSamplingMetadatasBuilder
If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.
repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 9; -
getSamplingMetadatasBuilderList
If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.
repeated .google.analytics.data.v1alpha.SamplingMetadata sampling_metadatas = 9; -
getSectionValue
public int getSectionValue()Identifies the type of data in the report.
.google.analytics.data.v1alpha.Section section = 10;- Specified by:
getSectionValuein interfaceResponseMetaDataOrBuilder- Returns:
- The enum numeric value on the wire for section.
-
setSectionValue
Identifies the type of data in the report.
.google.analytics.data.v1alpha.Section section = 10;- Parameters:
value- The enum numeric value on the wire for section to set.- Returns:
- This builder for chaining.
-
getSection
Identifies the type of data in the report.
.google.analytics.data.v1alpha.Section section = 10;- Specified by:
getSectionin interfaceResponseMetaDataOrBuilder- Returns:
- The section.
-
setSection
Identifies the type of data in the report.
.google.analytics.data.v1alpha.Section section = 10;- Parameters:
value- The section to set.- Returns:
- This builder for chaining.
-
clearSection
Identifies the type of data in the report.
.google.analytics.data.v1alpha.Section section = 10;- Returns:
- This builder for chaining.
-