Send feedback
Class ListAudiencesResponse (0.21.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.21.0 keyboard_arrow_down
public final class ListAudiencesResponse extends GeneratedMessageV3 implements ListAudiencesResponseOrBuilder
Response message for ListAudiences RPC.
Protobuf type google.analytics.admin.v1alpha.ListAudiencesResponse
Static Fields
AUDIENCES_FIELD_NUMBER
public static final int AUDIENCES_FIELD_NUMBER
Field Value
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ListAudiencesResponse getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static ListAudiencesResponse . Builder newBuilder ()
Returns
newBuilder(ListAudiencesResponse prototype)
public static ListAudiencesResponse . Builder newBuilder ( ListAudiencesResponse prototype )
Parameter
Returns
public static ListAudiencesResponse parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ListAudiencesResponse parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListAudiencesResponse parseFrom ( byte [] data )
Parameter
Name Description data
byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListAudiencesResponse parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListAudiencesResponse parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListAudiencesResponse parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ListAudiencesResponse parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static ListAudiencesResponse parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ListAudiencesResponse parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ListAudiencesResponse parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListAudiencesResponse parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListAudiencesResponse parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<ListAudiencesResponse> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getAudiences(int index)
public Audience getAudiences ( int index )
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Parameter
Returns
getAudiencesCount()
public int getAudiencesCount ()
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Returns
getAudiencesList()
public List<Audience> getAudiencesList ()
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Returns
getAudiencesOrBuilder(int index)
public AudienceOrBuilder getAudiencesOrBuilder ( int index )
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Parameter
Returns
getAudiencesOrBuilderList()
public List <? extends AudienceOrBuilder > getAudiencesOrBuilderList ()
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Returns
Type Description List <? extends com.google.analytics.admin.v1alpha.AudienceOrBuilder >
getDefaultInstanceForType()
public ListAudiencesResponse getDefaultInstanceForType ()
Returns
getNextPageToken()
public String getNextPageToken ()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
Type Description String
The nextPageToken.
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes ()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
Type Description ByteString
The bytes for nextPageToken.
getParserForType()
public Parser<ListAudiencesResponse> getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public ListAudiencesResponse . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListAudiencesResponse . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public ListAudiencesResponse . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-09 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["This webpage provides a comprehensive list of versions for `ListAudiencesResponse`, ranging from the latest version 0.70.0 down to version 0.14.0, all within the Google Analytics Admin framework."],["The `ListAudiencesResponse` class, as a part of the `com.google.analytics.admin.v1alpha` package, extends `GeneratedMessageV3` and implements `ListAudiencesResponseOrBuilder`."],["`ListAudiencesResponse` is a Protobuf type used as a response message for the ListAudiences RPC, and it allows retrieval of a list of audiences, and a token for the next page."],["Static methods are provided to get a default instance, obtain a descriptor, create a new builder, parse from different data types and inputs, and get a parser."],["The methods in the class provides functionalities to get the list of Audiences, their count, the next page token, and various other properties, as well as internal methods for the handling of the messages fields."]]],[]]