public final class ResponseMetaData extends GeneratedMessageV3 implements ResponseMetaDataOrBuilder
Response's metadata carrying additional information about the report content.
Protobuf type google.analytics.data.v1beta.ResponseMetaData
Static Fields
public static final int CURRENCY_CODE_FIELD_NUMBER
Field Value
public static final int DATA_LOSS_FROM_OTHER_ROW_FIELD_NUMBER
Field Value
public static final int EMPTY_REASON_FIELD_NUMBER
Field Value
public static final int SCHEMA_RESTRICTION_RESPONSE_FIELD_NUMBER
Field Value
public static final int SUBJECT_TO_THRESHOLDING_FIELD_NUMBER
Field Value
public static final int TIME_ZONE_FIELD_NUMBER
Field Value
Static Methods
public static ResponseMetaData getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ResponseMetaData.Builder newBuilder()
Returns
public static ResponseMetaData.Builder newBuilder(ResponseMetaData prototype)
Parameter
Returns
public static ResponseMetaData parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResponseMetaData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResponseMetaData parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ResponseMetaData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResponseMetaData parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ResponseMetaData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResponseMetaData parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ResponseMetaData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResponseMetaData parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResponseMetaData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResponseMetaData parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ResponseMetaData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ResponseMetaData> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public String 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;
Returns
Type | Description |
String | The currencyCode.
|
public 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;
Returns
Type | Description |
ByteString | The bytes for currencyCode.
|
public boolean getDataLossFromOtherRow()
If true, indicates some buckets of dimension combinations are rolled into
"(other)" row. This can happen for high cardinality reports.
bool data_loss_from_other_row = 3;
Returns
Type | Description |
boolean | The dataLossFromOtherRow.
|
public ResponseMetaData getDefaultInstanceForType()
Returns
public String getEmptyReason()
If empty reason is specified, the report is empty for this reason.
optional string empty_reason = 7;
Returns
Type | Description |
String | The emptyReason.
|
public ByteString getEmptyReasonBytes()
If empty reason is specified, the report is empty for this reason.
optional string empty_reason = 7;
Returns
Type | Description |
ByteString | The bytes for emptyReason.
|
public Parser<ResponseMetaData> getParserForType()
Returns
Overrides
public ResponseMetaData.SchemaRestrictionResponse getSchemaRestrictionResponse()
Describes the schema restrictions actively enforced in creating this
report. To learn more, see Access and data-restriction
management.
optional .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4;
Returns
public ResponseMetaData.SchemaRestrictionResponseOrBuilder getSchemaRestrictionResponseOrBuilder()
Describes the schema restrictions actively enforced in creating this
report. To learn more, see Access and data-restriction
management.
optional .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4;
Returns
public int getSerializedSize()
Returns
Overrides
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 and About
Demographics and
Interests.
optional bool subject_to_thresholding = 8;
Returns
Type | Description |
boolean | The subjectToThresholding.
|
public String 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;
Returns
Type | Description |
String | The timeZone.
|
public 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;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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;
Returns
Type | Description |
boolean | Whether the currencyCode field is set.
|
public boolean hasEmptyReason()
If empty reason is specified, the report is empty for this reason.
optional string empty_reason = 7;
Returns
Type | Description |
boolean | Whether the emptyReason field is set.
|
public boolean hasSchemaRestrictionResponse()
Describes the schema restrictions actively enforced in creating this
report. To learn more, see Access and data-restriction
management.
optional .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4;
Returns
Type | Description |
boolean | Whether the schemaRestrictionResponse field is set.
|
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 and About
Demographics and
Interests.
optional bool subject_to_thresholding = 8;
Returns
Type | Description |
boolean | Whether the subjectToThresholding field is set.
|
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;
Returns
Type | Description |
boolean | Whether the timeZone field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ResponseMetaData.Builder newBuilderForType()
Returns
protected ResponseMetaData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ResponseMetaData.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions