Interface ResponseMetaDataOrBuilder (0.45.0)

public interface ResponseMetaDataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCurrencyCode()

public abstract 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
TypeDescription
String

The currencyCode.

getCurrencyCodeBytes()

public abstract 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
TypeDescription
ByteString

The bytes for currencyCode.

getDataLossFromOtherRow()

public abstract 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.

bool data_loss_from_other_row = 3;

Returns
TypeDescription
boolean

The dataLossFromOtherRow.

getEmptyReason()

public abstract String getEmptyReason()

If empty reason is specified, the report is empty for this reason.

optional string empty_reason = 7;

Returns
TypeDescription
String

The emptyReason.

getEmptyReasonBytes()

public abstract ByteString getEmptyReasonBytes()

If empty reason is specified, the report is empty for this reason.

optional string empty_reason = 7;

Returns
TypeDescription
ByteString

The bytes for emptyReason.

getSamplingMetadatas(int index)

public abstract SamplingMetadata getSamplingMetadatas(int index)

If this report results is sampled, 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.v1beta.SamplingMetadata sampling_metadatas = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
SamplingMetadata

getSamplingMetadatasCount()

public abstract int getSamplingMetadatasCount()

If this report results is sampled, 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.v1beta.SamplingMetadata sampling_metadatas = 9;

Returns
TypeDescription
int

getSamplingMetadatasList()

public abstract List<SamplingMetadata> getSamplingMetadatasList()

If this report results is sampled, 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.v1beta.SamplingMetadata sampling_metadatas = 9;

Returns
TypeDescription
List<SamplingMetadata>

getSamplingMetadatasOrBuilder(int index)

public abstract SamplingMetadataOrBuilder getSamplingMetadatasOrBuilder(int index)

If this report results is sampled, 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.v1beta.SamplingMetadata sampling_metadatas = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
SamplingMetadataOrBuilder

getSamplingMetadatasOrBuilderList()

public abstract List<? extends SamplingMetadataOrBuilder> getSamplingMetadatasOrBuilderList()

If this report results is sampled, 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.v1beta.SamplingMetadata sampling_metadatas = 9;

Returns
TypeDescription
List<? extends com.google.analytics.data.v1beta.SamplingMetadataOrBuilder>

getSchemaRestrictionResponse()

public abstract 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
TypeDescription
ResponseMetaData.SchemaRestrictionResponse

The schemaRestrictionResponse.

getSchemaRestrictionResponseOrBuilder()

public abstract 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
TypeDescription
ResponseMetaData.SchemaRestrictionResponseOrBuilder

getSubjectToThresholding()

public abstract 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.

optional bool subject_to_thresholding = 8;

Returns
TypeDescription
boolean

The subjectToThresholding.

getTimeZone()

public abstract 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
TypeDescription
String

The timeZone.

getTimeZoneBytes()

public abstract 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
TypeDescription
ByteString

The bytes for timeZone.

hasCurrencyCode()

public abstract 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
TypeDescription
boolean

Whether the currencyCode field is set.

hasEmptyReason()

public abstract boolean hasEmptyReason()

If empty reason is specified, the report is empty for this reason.

optional string empty_reason = 7;

Returns
TypeDescription
boolean

Whether the emptyReason field is set.

hasSchemaRestrictionResponse()

public abstract 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
TypeDescription
boolean

Whether the schemaRestrictionResponse field is set.

hasSubjectToThresholding()

public abstract 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.

optional bool subject_to_thresholding = 8;

Returns
TypeDescription
boolean

Whether the subjectToThresholding field is set.

hasTimeZone()

public abstract 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
TypeDescription
boolean

Whether the timeZone field is set.