Class ResponseMetaData
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.data.v1alpha.ResponseMetaData
- All Implemented Interfaces:
ResponseMetaDataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ResponseMetaData
extends com.google.protobuf.GeneratedMessage
implements ResponseMetaDataOrBuilder
Response's metadata carrying additional information about the report content.Protobuf type
google.analytics.data.v1alpha.ResponseMetaData- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classResponse's metadata carrying additional information about the report content.static final classThe schema restrictions actively enforced in creating this report.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe 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 ResponseMetaDatastatic final com.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.com.google.protobuf.Parser<ResponseMetaData>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.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.Identifies the type of data in the report.intIdentifies the type of data in the report.intbooleanIf `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.inthashCode()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 booleanstatic ResponseMetaData.Builderstatic ResponseMetaData.BuildernewBuilder(ResponseMetaData prototype) protected ResponseMetaData.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ResponseMetaDataparseDelimitedFrom(InputStream input) static ResponseMetaDataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseMetaDataparseFrom(byte[] data) static ResponseMetaDataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseMetaDataparseFrom(com.google.protobuf.ByteString data) static ResponseMetaDataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseMetaDataparseFrom(com.google.protobuf.CodedInputStream input) static ResponseMetaDataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseMetaDataparseFrom(InputStream input) static ResponseMetaDataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseMetaDataparseFrom(ByteBuffer data) static ResponseMetaDataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ResponseMetaData>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DATA_LOSS_FROM_OTHER_ROW_FIELD_NUMBER
public static final int DATA_LOSS_FROM_OTHER_ROW_FIELD_NUMBER- See Also:
-
SCHEMA_RESTRICTION_RESPONSE_FIELD_NUMBER
public static final int SCHEMA_RESTRICTION_RESPONSE_FIELD_NUMBER- See Also:
-
CURRENCY_CODE_FIELD_NUMBER
public static final int CURRENCY_CODE_FIELD_NUMBER- See Also:
-
TIME_ZONE_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER- See Also:
-
EMPTY_REASON_FIELD_NUMBER
public static final int EMPTY_REASON_FIELD_NUMBER- See Also:
-
SUBJECT_TO_THRESHOLDING_FIELD_NUMBER
public static final int SUBJECT_TO_THRESHOLDING_FIELD_NUMBER- See Also:
-
SAMPLING_METADATAS_FIELD_NUMBER
public static final int SAMPLING_METADATAS_FIELD_NUMBER- See Also:
-
SECTION_FIELD_NUMBER
public static final int SECTION_FIELD_NUMBER- See Also:
-
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
getSection
Identifies the type of data in the report.
.google.analytics.data.v1alpha.Section section = 10;- Specified by:
getSectionin interfaceResponseMetaDataOrBuilder- Returns:
- The section.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ResponseMetaData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResponseMetaData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResponseMetaData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResponseMetaData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResponseMetaData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResponseMetaData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ResponseMetaData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ResponseMetaData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ResponseMetaData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ResponseMetaData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ResponseMetaData.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-