Class QueryAudienceExportResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QueryAudienceExportResponse.Builder>
com.google.analytics.data.v1beta.QueryAudienceExportResponse.Builder
All Implemented Interfaces:
QueryAudienceExportResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
QueryAudienceExportResponse

public static final class QueryAudienceExportResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<QueryAudienceExportResponse.Builder> implements QueryAudienceExportResponseOrBuilder
 A list of users in an audience export.
 
Protobuf type google.analytics.data.v1beta.QueryAudienceExportResponse
  • 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<QueryAudienceExportResponse.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<QueryAudienceExportResponse.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<QueryAudienceExportResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public QueryAudienceExportResponse.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<QueryAudienceExportResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<QueryAudienceExportResponse.Builder>
    • mergeFrom

      public QueryAudienceExportResponse.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<QueryAudienceExportResponse.Builder>
      Throws:
      IOException
    • hasAudienceExport

      public boolean hasAudienceExport()
       Configuration data about AudienceExport being queried. Returned to help
       interpret the audience rows in this response. For example, the dimensions
       in this AudienceExport correspond to the columns in the AudienceRows.
       
      optional .google.analytics.data.v1beta.AudienceExport audience_export = 1;
      Specified by:
      hasAudienceExport in interface QueryAudienceExportResponseOrBuilder
      Returns:
      Whether the audienceExport field is set.
    • getAudienceExport

      public AudienceExport getAudienceExport()
       Configuration data about AudienceExport being queried. Returned to help
       interpret the audience rows in this response. For example, the dimensions
       in this AudienceExport correspond to the columns in the AudienceRows.
       
      optional .google.analytics.data.v1beta.AudienceExport audience_export = 1;
      Specified by:
      getAudienceExport in interface QueryAudienceExportResponseOrBuilder
      Returns:
      The audienceExport.
    • setAudienceExport

      public QueryAudienceExportResponse.Builder setAudienceExport(AudienceExport value)
       Configuration data about AudienceExport being queried. Returned to help
       interpret the audience rows in this response. For example, the dimensions
       in this AudienceExport correspond to the columns in the AudienceRows.
       
      optional .google.analytics.data.v1beta.AudienceExport audience_export = 1;
    • setAudienceExport

      public QueryAudienceExportResponse.Builder setAudienceExport(AudienceExport.Builder builderForValue)
       Configuration data about AudienceExport being queried. Returned to help
       interpret the audience rows in this response. For example, the dimensions
       in this AudienceExport correspond to the columns in the AudienceRows.
       
      optional .google.analytics.data.v1beta.AudienceExport audience_export = 1;
    • mergeAudienceExport

      public QueryAudienceExportResponse.Builder mergeAudienceExport(AudienceExport value)
       Configuration data about AudienceExport being queried. Returned to help
       interpret the audience rows in this response. For example, the dimensions
       in this AudienceExport correspond to the columns in the AudienceRows.
       
      optional .google.analytics.data.v1beta.AudienceExport audience_export = 1;
    • clearAudienceExport

      public QueryAudienceExportResponse.Builder clearAudienceExport()
       Configuration data about AudienceExport being queried. Returned to help
       interpret the audience rows in this response. For example, the dimensions
       in this AudienceExport correspond to the columns in the AudienceRows.
       
      optional .google.analytics.data.v1beta.AudienceExport audience_export = 1;
    • getAudienceExportBuilder

      public AudienceExport.Builder getAudienceExportBuilder()
       Configuration data about AudienceExport being queried. Returned to help
       interpret the audience rows in this response. For example, the dimensions
       in this AudienceExport correspond to the columns in the AudienceRows.
       
      optional .google.analytics.data.v1beta.AudienceExport audience_export = 1;
    • getAudienceExportOrBuilder

      public AudienceExportOrBuilder getAudienceExportOrBuilder()
       Configuration data about AudienceExport being queried. Returned to help
       interpret the audience rows in this response. For example, the dimensions
       in this AudienceExport correspond to the columns in the AudienceRows.
       
      optional .google.analytics.data.v1beta.AudienceExport audience_export = 1;
      Specified by:
      getAudienceExportOrBuilder in interface QueryAudienceExportResponseOrBuilder
    • getAudienceRowsList

      public List<AudienceRow> getAudienceRowsList()
       Rows for each user in an audience export. The number of rows in this
       response will be less than or equal to request's page size.
       
      repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2;
      Specified by:
      getAudienceRowsList in interface QueryAudienceExportResponseOrBuilder
    • getAudienceRowsCount

      public int getAudienceRowsCount()
       Rows for each user in an audience export. The number of rows in this
       response will be less than or equal to request's page size.
       
      repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2;
      Specified by:
      getAudienceRowsCount in interface QueryAudienceExportResponseOrBuilder
    • getAudienceRows

      public AudienceRow getAudienceRows(int index)
       Rows for each user in an audience export. The number of rows in this
       response will be less than or equal to request's page size.
       
      repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2;
      Specified by:
      getAudienceRows in interface QueryAudienceExportResponseOrBuilder
    • setAudienceRows

      public QueryAudienceExportResponse.Builder setAudienceRows(int index, AudienceRow value)
       Rows for each user in an audience export. The number of rows in this
       response will be less than or equal to request's page size.
       
      repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2;
    • setAudienceRows

      public QueryAudienceExportResponse.Builder setAudienceRows(int index, AudienceRow.Builder builderForValue)
       Rows for each user in an audience export. The number of rows in this
       response will be less than or equal to request's page size.
       
      repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2;
    • addAudienceRows

      public QueryAudienceExportResponse.Builder addAudienceRows(AudienceRow value)
       Rows for each user in an audience export. The number of rows in this
       response will be less than or equal to request's page size.
       
      repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2;
    • addAudienceRows

      public QueryAudienceExportResponse.Builder addAudienceRows(int index, AudienceRow value)
       Rows for each user in an audience export. The number of rows in this
       response will be less than or equal to request's page size.
       
      repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2;
    • addAudienceRows

      public QueryAudienceExportResponse.Builder addAudienceRows(AudienceRow.Builder builderForValue)
       Rows for each user in an audience export. The number of rows in this
       response will be less than or equal to request's page size.
       
      repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2;
    • addAudienceRows

      public QueryAudienceExportResponse.Builder addAudienceRows(int index, AudienceRow.Builder builderForValue)
       Rows for each user in an audience export. The number of rows in this
       response will be less than or equal to request's page size.
       
      repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2;
    • addAllAudienceRows

      public QueryAudienceExportResponse.Builder addAllAudienceRows(Iterable<? extends AudienceRow> values)
       Rows for each user in an audience export. The number of rows in this
       response will be less than or equal to request's page size.
       
      repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2;
    • clearAudienceRows

      public QueryAudienceExportResponse.Builder clearAudienceRows()
       Rows for each user in an audience export. The number of rows in this
       response will be less than or equal to request's page size.
       
      repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2;
    • removeAudienceRows

      public QueryAudienceExportResponse.Builder removeAudienceRows(int index)
       Rows for each user in an audience export. The number of rows in this
       response will be less than or equal to request's page size.
       
      repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2;
    • getAudienceRowsBuilder

      public AudienceRow.Builder getAudienceRowsBuilder(int index)
       Rows for each user in an audience export. The number of rows in this
       response will be less than or equal to request's page size.
       
      repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2;
    • getAudienceRowsOrBuilder

      public AudienceRowOrBuilder getAudienceRowsOrBuilder(int index)
       Rows for each user in an audience export. The number of rows in this
       response will be less than or equal to request's page size.
       
      repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2;
      Specified by:
      getAudienceRowsOrBuilder in interface QueryAudienceExportResponseOrBuilder
    • getAudienceRowsOrBuilderList

      public List<? extends AudienceRowOrBuilder> getAudienceRowsOrBuilderList()
       Rows for each user in an audience export. The number of rows in this
       response will be less than or equal to request's page size.
       
      repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2;
      Specified by:
      getAudienceRowsOrBuilderList in interface QueryAudienceExportResponseOrBuilder
    • addAudienceRowsBuilder

      public AudienceRow.Builder addAudienceRowsBuilder()
       Rows for each user in an audience export. The number of rows in this
       response will be less than or equal to request's page size.
       
      repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2;
    • addAudienceRowsBuilder

      public AudienceRow.Builder addAudienceRowsBuilder(int index)
       Rows for each user in an audience export. The number of rows in this
       response will be less than or equal to request's page size.
       
      repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2;
    • getAudienceRowsBuilderList

      public List<AudienceRow.Builder> getAudienceRowsBuilderList()
       Rows for each user in an audience export. The number of rows in this
       response will be less than or equal to request's page size.
       
      repeated .google.analytics.data.v1beta.AudienceRow audience_rows = 2;
    • hasRowCount

      public boolean hasRowCount()
       The total number of rows in the AudienceExport result. `rowCount` is
       independent of the number of rows returned in the response, the `limit`
       request parameter, and the `offset` request parameter. For example if a
       query returns 175 rows and includes `limit` of 50 in the API request, the
       response will contain `rowCount` of 175 but only 50 rows.
      
       To learn more about this pagination parameter, see
       [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
       
      optional int32 row_count = 3;
      Specified by:
      hasRowCount in interface QueryAudienceExportResponseOrBuilder
      Returns:
      Whether the rowCount field is set.
    • getRowCount

      public int getRowCount()
       The total number of rows in the AudienceExport result. `rowCount` is
       independent of the number of rows returned in the response, the `limit`
       request parameter, and the `offset` request parameter. For example if a
       query returns 175 rows and includes `limit` of 50 in the API request, the
       response will contain `rowCount` of 175 but only 50 rows.
      
       To learn more about this pagination parameter, see
       [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
       
      optional int32 row_count = 3;
      Specified by:
      getRowCount in interface QueryAudienceExportResponseOrBuilder
      Returns:
      The rowCount.
    • setRowCount

      public QueryAudienceExportResponse.Builder setRowCount(int value)
       The total number of rows in the AudienceExport result. `rowCount` is
       independent of the number of rows returned in the response, the `limit`
       request parameter, and the `offset` request parameter. For example if a
       query returns 175 rows and includes `limit` of 50 in the API request, the
       response will contain `rowCount` of 175 but only 50 rows.
      
       To learn more about this pagination parameter, see
       [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
       
      optional int32 row_count = 3;
      Parameters:
      value - The rowCount to set.
      Returns:
      This builder for chaining.
    • clearRowCount

      public QueryAudienceExportResponse.Builder clearRowCount()
       The total number of rows in the AudienceExport result. `rowCount` is
       independent of the number of rows returned in the response, the `limit`
       request parameter, and the `offset` request parameter. For example if a
       query returns 175 rows and includes `limit` of 50 in the API request, the
       response will contain `rowCount` of 175 but only 50 rows.
      
       To learn more about this pagination parameter, see
       [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
       
      optional int32 row_count = 3;
      Returns:
      This builder for chaining.