Class QueryAudienceListResponse.Builder

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

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

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

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

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

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

      public QueryAudienceListResponse.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<QueryAudienceListResponse.Builder>
      Throws:
      IOException
    • hasAudienceList

      public boolean hasAudienceList()
       Configuration data about AudienceList being queried. Returned to help
       interpret the audience rows in this response. For example, the dimensions
       in this AudienceList correspond to the columns in the AudienceRows.
       
      optional .google.analytics.data.v1alpha.AudienceList audience_list = 1;
      Specified by:
      hasAudienceList in interface QueryAudienceListResponseOrBuilder
      Returns:
      Whether the audienceList field is set.
    • getAudienceList

      public AudienceList getAudienceList()
       Configuration data about AudienceList being queried. Returned to help
       interpret the audience rows in this response. For example, the dimensions
       in this AudienceList correspond to the columns in the AudienceRows.
       
      optional .google.analytics.data.v1alpha.AudienceList audience_list = 1;
      Specified by:
      getAudienceList in interface QueryAudienceListResponseOrBuilder
      Returns:
      The audienceList.
    • setAudienceList

      public QueryAudienceListResponse.Builder setAudienceList(AudienceList value)
       Configuration data about AudienceList being queried. Returned to help
       interpret the audience rows in this response. For example, the dimensions
       in this AudienceList correspond to the columns in the AudienceRows.
       
      optional .google.analytics.data.v1alpha.AudienceList audience_list = 1;
    • setAudienceList

      public QueryAudienceListResponse.Builder setAudienceList(AudienceList.Builder builderForValue)
       Configuration data about AudienceList being queried. Returned to help
       interpret the audience rows in this response. For example, the dimensions
       in this AudienceList correspond to the columns in the AudienceRows.
       
      optional .google.analytics.data.v1alpha.AudienceList audience_list = 1;
    • mergeAudienceList

      public QueryAudienceListResponse.Builder mergeAudienceList(AudienceList value)
       Configuration data about AudienceList being queried. Returned to help
       interpret the audience rows in this response. For example, the dimensions
       in this AudienceList correspond to the columns in the AudienceRows.
       
      optional .google.analytics.data.v1alpha.AudienceList audience_list = 1;
    • clearAudienceList

      public QueryAudienceListResponse.Builder clearAudienceList()
       Configuration data about AudienceList being queried. Returned to help
       interpret the audience rows in this response. For example, the dimensions
       in this AudienceList correspond to the columns in the AudienceRows.
       
      optional .google.analytics.data.v1alpha.AudienceList audience_list = 1;
    • getAudienceListBuilder

      public AudienceList.Builder getAudienceListBuilder()
       Configuration data about AudienceList being queried. Returned to help
       interpret the audience rows in this response. For example, the dimensions
       in this AudienceList correspond to the columns in the AudienceRows.
       
      optional .google.analytics.data.v1alpha.AudienceList audience_list = 1;
    • getAudienceListOrBuilder

      public AudienceListOrBuilder getAudienceListOrBuilder()
       Configuration data about AudienceList being queried. Returned to help
       interpret the audience rows in this response. For example, the dimensions
       in this AudienceList correspond to the columns in the AudienceRows.
       
      optional .google.analytics.data.v1alpha.AudienceList audience_list = 1;
      Specified by:
      getAudienceListOrBuilder in interface QueryAudienceListResponseOrBuilder
    • getAudienceRowsList

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public boolean hasRowCount()
       The total number of rows in the AudienceList 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 QueryAudienceListResponseOrBuilder
      Returns:
      Whether the rowCount field is set.
    • getRowCount

      public int getRowCount()
       The total number of rows in the AudienceList 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 QueryAudienceListResponseOrBuilder
      Returns:
      The rowCount.
    • setRowCount

      public QueryAudienceListResponse.Builder setRowCount(int value)
       The total number of rows in the AudienceList 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 QueryAudienceListResponse.Builder clearRowCount()
       The total number of rows in the AudienceList 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.