Class ResponseMetaData.Builder (0.50.0)

public static final class ResponseMetaData.Builder extends GeneratedMessageV3.Builder<ResponseMetaData.Builder> implements ResponseMetaDataOrBuilder

Response's metadata carrying additional information about the report content.

Protobuf type google.analytics.data.v1beta.ResponseMetaData

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllSamplingMetadatas(Iterable<? extends SamplingMetadata> values)

public ResponseMetaData.Builder addAllSamplingMetadatas(Iterable<? extends SamplingMetadata> values)

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
valuesIterable<? extends com.google.analytics.data.v1beta.SamplingMetadata>
Returns
TypeDescription
ResponseMetaData.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResponseMetaData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResponseMetaData.Builder
Overrides

addSamplingMetadatas(SamplingMetadata value)

public ResponseMetaData.Builder addSamplingMetadatas(SamplingMetadata value)

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
valueSamplingMetadata
Returns
TypeDescription
ResponseMetaData.Builder

addSamplingMetadatas(SamplingMetadata.Builder builderForValue)

public ResponseMetaData.Builder addSamplingMetadatas(SamplingMetadata.Builder builderForValue)

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
builderForValueSamplingMetadata.Builder
Returns
TypeDescription
ResponseMetaData.Builder

addSamplingMetadatas(int index, SamplingMetadata value)

public ResponseMetaData.Builder addSamplingMetadatas(int index, SamplingMetadata value)

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;

Parameters
NameDescription
indexint
valueSamplingMetadata
Returns
TypeDescription
ResponseMetaData.Builder

addSamplingMetadatas(int index, SamplingMetadata.Builder builderForValue)

public ResponseMetaData.Builder addSamplingMetadatas(int index, SamplingMetadata.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueSamplingMetadata.Builder
Returns
TypeDescription
ResponseMetaData.Builder

addSamplingMetadatasBuilder()

public SamplingMetadata.Builder addSamplingMetadatasBuilder()

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
SamplingMetadata.Builder

addSamplingMetadatasBuilder(int index)

public SamplingMetadata.Builder addSamplingMetadatasBuilder(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.Builder

build()

public ResponseMetaData build()
Returns
TypeDescription
ResponseMetaData

buildPartial()

public ResponseMetaData buildPartial()
Returns
TypeDescription
ResponseMetaData

clear()

public ResponseMetaData.Builder clear()
Returns
TypeDescription
ResponseMetaData.Builder
Overrides

clearCurrencyCode()

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

This builder for chaining.

clearDataLossFromOtherRow()

public ResponseMetaData.Builder 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.

bool data_loss_from_other_row = 3;

Returns
TypeDescription
ResponseMetaData.Builder

This builder for chaining.

clearEmptyReason()

public ResponseMetaData.Builder clearEmptyReason()

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

optional string empty_reason = 7;

Returns
TypeDescription
ResponseMetaData.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ResponseMetaData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ResponseMetaData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ResponseMetaData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ResponseMetaData.Builder
Overrides

clearSamplingMetadatas()

public ResponseMetaData.Builder clearSamplingMetadatas()

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
ResponseMetaData.Builder

clearSchemaRestrictionResponse()

public ResponseMetaData.Builder clearSchemaRestrictionResponse()

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.Builder

clearSubjectToThresholding()

public ResponseMetaData.Builder 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.

optional bool subject_to_thresholding = 8;

Returns
TypeDescription
ResponseMetaData.Builder

This builder for chaining.

clearTimeZone()

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

This builder for chaining.

clone()

public ResponseMetaData.Builder clone()
Returns
TypeDescription
ResponseMetaData.Builder
Overrides

getCurrencyCode()

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

The currencyCode.

getCurrencyCodeBytes()

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

The bytes for currencyCode.

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.

bool data_loss_from_other_row = 3;

Returns
TypeDescription
boolean

The dataLossFromOtherRow.

getDefaultInstanceForType()

public ResponseMetaData getDefaultInstanceForType()
Returns
TypeDescription
ResponseMetaData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEmptyReason()

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

getSamplingMetadatasBuilder(int index)

public SamplingMetadata.Builder getSamplingMetadatasBuilder(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.Builder

getSamplingMetadatasBuilderList()

public List<SamplingMetadata.Builder> getSamplingMetadatasBuilderList()

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<Builder>

getSamplingMetadatasCount()

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

getSchemaRestrictionResponseBuilder()

public ResponseMetaData.SchemaRestrictionResponse.Builder getSchemaRestrictionResponseBuilder()

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.Builder

getSchemaRestrictionResponseOrBuilder()

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

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.

optional bool subject_to_thresholding = 8;

Returns
TypeDescription
boolean

The subjectToThresholding.

getTimeZone()

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

The timeZone.

getTimeZoneBytes()

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

The bytes for timeZone.

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;

Returns
TypeDescription
boolean

Whether the currencyCode field is set.

hasEmptyReason()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResponseMetaData other)

public ResponseMetaData.Builder mergeFrom(ResponseMetaData other)
Parameter
NameDescription
otherResponseMetaData
Returns
TypeDescription
ResponseMetaData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResponseMetaData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseMetaData.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ResponseMetaData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ResponseMetaData.Builder
Overrides

mergeSchemaRestrictionResponse(ResponseMetaData.SchemaRestrictionResponse value)

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.

optional .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4;

Parameter
NameDescription
valueResponseMetaData.SchemaRestrictionResponse
Returns
TypeDescription
ResponseMetaData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResponseMetaData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResponseMetaData.Builder
Overrides

removeSamplingMetadatas(int index)

public ResponseMetaData.Builder removeSamplingMetadatas(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
ResponseMetaData.Builder

setCurrencyCode(String value)

public ResponseMetaData.Builder setCurrencyCode(String value)

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;

Parameter
NameDescription
valueString

The currencyCode to set.

Returns
TypeDescription
ResponseMetaData.Builder

This builder for chaining.

setCurrencyCodeBytes(ByteString value)

public ResponseMetaData.Builder setCurrencyCodeBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for currencyCode to set.

Returns
TypeDescription
ResponseMetaData.Builder

This builder for chaining.

setDataLossFromOtherRow(boolean value)

public ResponseMetaData.Builder setDataLossFromOtherRow(boolean value)

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;

Parameter
NameDescription
valueboolean

The dataLossFromOtherRow to set.

Returns
TypeDescription
ResponseMetaData.Builder

This builder for chaining.

setEmptyReason(String value)

public ResponseMetaData.Builder setEmptyReason(String value)

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

optional string empty_reason = 7;

Parameter
NameDescription
valueString

The emptyReason to set.

Returns
TypeDescription
ResponseMetaData.Builder

This builder for chaining.

setEmptyReasonBytes(ByteString value)

public ResponseMetaData.Builder setEmptyReasonBytes(ByteString value)

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

optional string empty_reason = 7;

Parameter
NameDescription
valueByteString

The bytes for emptyReason to set.

Returns
TypeDescription
ResponseMetaData.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ResponseMetaData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResponseMetaData.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ResponseMetaData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ResponseMetaData.Builder
Overrides

setSamplingMetadatas(int index, SamplingMetadata value)

public ResponseMetaData.Builder setSamplingMetadatas(int index, SamplingMetadata value)

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;

Parameters
NameDescription
indexint
valueSamplingMetadata
Returns
TypeDescription
ResponseMetaData.Builder

setSamplingMetadatas(int index, SamplingMetadata.Builder builderForValue)

public ResponseMetaData.Builder setSamplingMetadatas(int index, SamplingMetadata.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueSamplingMetadata.Builder
Returns
TypeDescription
ResponseMetaData.Builder

setSchemaRestrictionResponse(ResponseMetaData.SchemaRestrictionResponse value)

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.

optional .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4;

Parameter
NameDescription
valueResponseMetaData.SchemaRestrictionResponse
Returns
TypeDescription
ResponseMetaData.Builder

setSchemaRestrictionResponse(ResponseMetaData.SchemaRestrictionResponse.Builder builderForValue)

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.

optional .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4;

Parameter
NameDescription
builderForValueResponseMetaData.SchemaRestrictionResponse.Builder
Returns
TypeDescription
ResponseMetaData.Builder

setSubjectToThresholding(boolean value)

public ResponseMetaData.Builder setSubjectToThresholding(boolean value)

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;

Parameter
NameDescription
valueboolean

The subjectToThresholding to set.

Returns
TypeDescription
ResponseMetaData.Builder

This builder for chaining.

setTimeZone(String value)

public ResponseMetaData.Builder setTimeZone(String value)

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;

Parameter
NameDescription
valueString

The timeZone to set.

Returns
TypeDescription
ResponseMetaData.Builder

This builder for chaining.

setTimeZoneBytes(ByteString value)

public ResponseMetaData.Builder setTimeZoneBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for timeZone to set.

Returns
TypeDescription
ResponseMetaData.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ResponseMetaData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResponseMetaData.Builder
Overrides