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.v1beta.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.v1beta.ResponseMetaData
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.Builder>
    • clear

      public ResponseMetaData.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.Builder>
    • getDefaultInstanceForType

      public ResponseMetaData getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ResponseMetaData build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ResponseMetaData buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ResponseMetaData.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResponseMetaData.Builder>
    • mergeFrom

      public ResponseMetaData.Builder mergeFrom(ResponseMetaData other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      getDataLossFromOtherRow in interface ResponseMetaDataOrBuilder
      Returns:
      The dataLossFromOtherRow.
    • setDataLossFromOtherRow

      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](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

      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](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.v1beta.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4;
      Specified by:
      hasSchemaRestrictionResponse in interface ResponseMetaDataOrBuilder
      Returns:
      Whether the schemaRestrictionResponse field is set.
    • getSchemaRestrictionResponse

      public ResponseMetaData.SchemaRestrictionResponse 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.v1beta.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4;
      Specified by:
      getSchemaRestrictionResponse in interface ResponseMetaDataOrBuilder
      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.v1beta.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.v1beta.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.v1beta.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4;
    • clearSchemaRestrictionResponse

      public ResponseMetaData.Builder 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.v1beta.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4;
    • 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](https://support.google.com/analytics/answer/10851388).
       
      optional .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4;
    • getSchemaRestrictionResponseOrBuilder

      public ResponseMetaData.SchemaRestrictionResponseOrBuilder 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.v1beta.ResponseMetaData.SchemaRestrictionResponse schema_restriction_response = 4;
      Specified by:
      getSchemaRestrictionResponseOrBuilder in interface ResponseMetaDataOrBuilder
    • 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:
      hasCurrencyCode in interface ResponseMetaDataOrBuilder
      Returns:
      Whether the currencyCode field is set.
    • 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;
      Specified by:
      getCurrencyCode in interface ResponseMetaDataOrBuilder
      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:
      getCurrencyCodeBytes in interface ResponseMetaDataOrBuilder
      Returns:
      The bytes for currencyCode.
    • setCurrencyCode

      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;
      Parameters:
      value - The currencyCode to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setCurrencyCodeBytes

      public ResponseMetaData.Builder setCurrencyCodeBytes(com.google.protobuf.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;
      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:
      hasTimeZone in interface ResponseMetaDataOrBuilder
      Returns:
      Whether the timeZone field is set.
    • 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;
      Specified by:
      getTimeZone in interface ResponseMetaDataOrBuilder
      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:
      getTimeZoneBytes in interface ResponseMetaDataOrBuilder
      Returns:
      The bytes for timeZone.
    • setTimeZone

      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;
      Parameters:
      value - The timeZone to set.
      Returns:
      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:
      This builder for chaining.
    • setTimeZoneBytes

      public ResponseMetaData.Builder setTimeZoneBytes(com.google.protobuf.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;
      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:
      hasEmptyReason in interface ResponseMetaDataOrBuilder
      Returns:
      Whether the emptyReason field is set.
    • getEmptyReason

      public String getEmptyReason()
       If empty reason is specified, the report is empty for this reason.
       
      optional string empty_reason = 7;
      Specified by:
      getEmptyReason in interface ResponseMetaDataOrBuilder
      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:
      getEmptyReasonBytes in interface ResponseMetaDataOrBuilder
      Returns:
      The bytes for emptyReason.
    • setEmptyReason

      public ResponseMetaData.Builder setEmptyReason(String value)
       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

      public ResponseMetaData.Builder clearEmptyReason()
       If empty reason is specified, the report is empty for this reason.
       
      optional string empty_reason = 7;
      Returns:
      This builder for chaining.
    • setEmptyReasonBytes

      public ResponseMetaData.Builder setEmptyReasonBytes(com.google.protobuf.ByteString value)
       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).
       
      optional bool subject_to_thresholding = 8;
      Specified by:
      hasSubjectToThresholding in interface ResponseMetaDataOrBuilder
      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).
       
      optional bool subject_to_thresholding = 8;
      Specified by:
      getSubjectToThresholding in interface ResponseMetaDataOrBuilder
      Returns:
      The subjectToThresholding.
    • setSubjectToThresholding

      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](https://support.google.com/analytics/answer/9383630).
       
      optional bool subject_to_thresholding = 8;
      Parameters:
      value - The subjectToThresholding to set.
      Returns:
      This builder for chaining.
    • 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](https://support.google.com/analytics/answer/9383630).
       
      optional bool subject_to_thresholding = 8;
      Returns:
      This builder for chaining.
    • getSamplingMetadatasList

      public List<SamplingMetadata> 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.v1beta.SamplingMetadata sampling_metadatas = 9;
      Specified by:
      getSamplingMetadatasList in interface ResponseMetaDataOrBuilder
    • 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.v1beta.SamplingMetadata sampling_metadatas = 9;
      Specified by:
      getSamplingMetadatasCount in interface ResponseMetaDataOrBuilder
    • getSamplingMetadatas

      public SamplingMetadata 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. 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;
      Specified by:
      getSamplingMetadatas in interface ResponseMetaDataOrBuilder
    • setSamplingMetadatas

      public ResponseMetaData.Builder 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. 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;
    • 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.v1beta.SamplingMetadata sampling_metadatas = 9;
    • addSamplingMetadatas

      public ResponseMetaData.Builder addSamplingMetadatas(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. 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;
    • addSamplingMetadatas

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

      public ResponseMetaData.Builder 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. 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;
    • 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.v1beta.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.v1beta.SamplingMetadata sampling_metadatas = 9;
    • clearSamplingMetadatas

      public ResponseMetaData.Builder 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.v1beta.SamplingMetadata sampling_metadatas = 9;
    • removeSamplingMetadatas

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

      public SamplingMetadata.Builder 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. 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;
    • getSamplingMetadatasOrBuilder

      public SamplingMetadataOrBuilder 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. 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;
      Specified by:
      getSamplingMetadatasOrBuilder in interface ResponseMetaDataOrBuilder
    • getSamplingMetadatasOrBuilderList

      public List<? extends SamplingMetadataOrBuilder> 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.v1beta.SamplingMetadata sampling_metadatas = 9;
      Specified by:
      getSamplingMetadatasOrBuilderList in interface ResponseMetaDataOrBuilder
    • addSamplingMetadatasBuilder

      public SamplingMetadata.Builder 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.v1beta.SamplingMetadata sampling_metadatas = 9;
    • addSamplingMetadatasBuilder

      public SamplingMetadata.Builder 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. 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;
    • getSamplingMetadatasBuilderList

      public List<SamplingMetadata.Builder> 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.v1beta.SamplingMetadata sampling_metadatas = 9;