Send feedback
Class ListAccountsResponse (0.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.16.0 keyboard_arrow_down
public final class ListAccountsResponse extends GeneratedMessageV3 implements ListAccountsResponseOrBuilder
Request message for ListAccounts RPC.
Protobuf type google.analytics.admin.v1beta.ListAccountsResponse
Static Fields
ACCOUNTS_FIELD_NUMBER
public static final int ACCOUNTS_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 ListAccountsResponse getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static ListAccountsResponse . Builder newBuilder ()
Returns
newBuilder(ListAccountsResponse prototype)
public static ListAccountsResponse . Builder newBuilder ( ListAccountsResponse prototype )
Parameter
Returns
public static ListAccountsResponse parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ListAccountsResponse parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListAccountsResponse parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListAccountsResponse parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListAccountsResponse parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListAccountsResponse parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ListAccountsResponse parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static ListAccountsResponse parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ListAccountsResponse parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ListAccountsResponse parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListAccountsResponse parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListAccountsResponse parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<ListAccountsResponse> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getAccounts(int index)
public Account getAccounts ( int index )
Results that were accessible to the caller.
repeated .google.analytics.admin.v1beta.Account accounts = 1;
Parameter
Returns
getAccountsCount()
public int getAccountsCount ()
Results that were accessible to the caller.
repeated .google.analytics.admin.v1beta.Account accounts = 1;
Returns
getAccountsList()
public List<Account> getAccountsList ()
Results that were accessible to the caller.
repeated .google.analytics.admin.v1beta.Account accounts = 1;
Returns
getAccountsOrBuilder(int index)
public AccountOrBuilder getAccountsOrBuilder ( int index )
Results that were accessible to the caller.
repeated .google.analytics.admin.v1beta.Account accounts = 1;
Parameter
Returns
getAccountsOrBuilderList()
public List <? extends AccountOrBuilder > getAccountsOrBuilderList ()
Results that were accessible to the caller.
repeated .google.analytics.admin.v1beta.Account accounts = 1;
Returns
Type Description List <? extends com.google.analytics.admin.v1beta.AccountOrBuilder >
getDefaultInstanceForType()
public ListAccountsResponse 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<ListAccountsResponse> 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 ListAccountsResponse . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListAccountsResponse . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public ListAccountsResponse . 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 documentation for various versions of the `ListAccountsResponse` class within the Google Analytics Admin API, ranging from version 0.14.0 to the latest version 0.70.0."],["The `ListAccountsResponse` class is a part of the `google.analytics.admin.v1beta` package and is used as a request message for the ListAccounts RPC in the Google Analytics Admin API."],["The documentation details that `ListAccountsResponse` extends `GeneratedMessageV3` and implements `ListAccountsResponseOrBuilder`, inheriting methods and properties from various base classes."],["Static methods are available for creating new instances, getting the default instance, and parsing from different data types, and instance methods are described for accessing data like accounts list and the next page token."],["The class contains static fields for `ACCOUNTS_FIELD_NUMBER` and `NEXT_PAGE_TOKEN_FIELD_NUMBER`, as well as methods to access the accounts, count of accounts, and pagination information."]]],[]]