Class QueryAudienceListResponse (0.50.0)

public final class QueryAudienceListResponse extends GeneratedMessageV3 implements QueryAudienceListResponseOrBuilder

A list of users in an audience list.

Protobuf type google.analytics.data.v1alpha.QueryAudienceListResponse

Static Fields

AUDIENCE_LIST_FIELD_NUMBER

public static final int AUDIENCE_LIST_FIELD_NUMBER
Field Value
TypeDescription
int

AUDIENCE_ROWS_FIELD_NUMBER

public static final int AUDIENCE_ROWS_FIELD_NUMBER
Field Value
TypeDescription
int

ROW_COUNT_FIELD_NUMBER

public static final int ROW_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static QueryAudienceListResponse getDefaultInstance()
Returns
TypeDescription
QueryAudienceListResponse

getDescriptor()

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

newBuilder()

public static QueryAudienceListResponse.Builder newBuilder()
Returns
TypeDescription
QueryAudienceListResponse.Builder

newBuilder(QueryAudienceListResponse prototype)

public static QueryAudienceListResponse.Builder newBuilder(QueryAudienceListResponse prototype)
Parameter
NameDescription
prototypeQueryAudienceListResponse
Returns
TypeDescription
QueryAudienceListResponse.Builder

parseDelimitedFrom(InputStream input)

public static QueryAudienceListResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QueryAudienceListResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryAudienceListResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryAudienceListResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static QueryAudienceListResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
QueryAudienceListResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QueryAudienceListResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryAudienceListResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QueryAudienceListResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
QueryAudienceListResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QueryAudienceListResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryAudienceListResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QueryAudienceListResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
QueryAudienceListResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryAudienceListResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryAudienceListResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static QueryAudienceListResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QueryAudienceListResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryAudienceListResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryAudienceListResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static QueryAudienceListResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
QueryAudienceListResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QueryAudienceListResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryAudienceListResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<QueryAudienceListResponse> parser()
Returns
TypeDescription
Parser<QueryAudienceListResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

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;

Returns
TypeDescription
AudienceList

The audienceList.

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;

Returns
TypeDescription
AudienceListOrBuilder

getAudienceRows(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
AudienceRow

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;

Returns
TypeDescription
int

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;

Returns
TypeDescription
List<AudienceRow>

getAudienceRowsOrBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
AudienceRowOrBuilder

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;

Returns
TypeDescription
List<? extends com.google.analytics.data.v1alpha.AudienceRowOrBuilder>

getDefaultInstanceForType()

public QueryAudienceListResponse getDefaultInstanceForType()
Returns
TypeDescription
QueryAudienceListResponse

getParserForType()

public Parser<QueryAudienceListResponse> getParserForType()
Returns
TypeDescription
Parser<QueryAudienceListResponse>
Overrides

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.

optional int32 row_count = 3;

Returns
TypeDescription
int

The rowCount.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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;

Returns
TypeDescription
boolean

Whether the audienceList field is set.

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.

optional int32 row_count = 3;

Returns
TypeDescription
boolean

Whether the rowCount field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public QueryAudienceListResponse.Builder newBuilderForType()
Returns
TypeDescription
QueryAudienceListResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QueryAudienceListResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
QueryAudienceListResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public QueryAudienceListResponse.Builder toBuilder()
Returns
TypeDescription
QueryAudienceListResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException