Send feedback
Class AccountSummary (0.20.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.20.0keyboard_arrow_down
public final class AccountSummary extends GeneratedMessageV3 implements AccountSummaryOrBuilder
A virtual resource representing an overview of an account and
all its child GA4 properties.
Protobuf type google.analytics.admin.v1beta.AccountSummary
Static Fields
ACCOUNT_FIELD_NUMBER
public static final int ACCOUNT_FIELD_NUMBER
Field Value
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
PROPERTY_SUMMARIES_FIELD_NUMBER
public static final int PROPERTY_SUMMARIES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AccountSummary getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static AccountSummary . Builder newBuilder ()
Returns
newBuilder(AccountSummary prototype)
public static AccountSummary . Builder newBuilder ( AccountSummary prototype )
Parameter
Returns
public static AccountSummary parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static AccountSummary parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AccountSummary parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AccountSummary parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AccountSummary parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AccountSummary parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static AccountSummary parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static AccountSummary parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static AccountSummary parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static AccountSummary parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AccountSummary parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AccountSummary parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<AccountSummary> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getAccount()
public String getAccount ()
Resource name of account referred to by this account summary
Format: accounts/{account_id}
Example: "accounts/1000"
string account = 2 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The account.
getAccountBytes()
public ByteString getAccountBytes ()
Resource name of account referred to by this account summary
Format: accounts/{account_id}
Example: "accounts/1000"
string account = 2 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for account.
getDefaultInstanceForType()
public AccountSummary getDefaultInstanceForType ()
Returns
getDisplayName()
public String getDisplayName ()
Display name for the account referred to in this account summary.
string display_name = 3;
Returns
Type
Description
String
The displayName.
getDisplayNameBytes()
public ByteString getDisplayNameBytes ()
Display name for the account referred to in this account summary.
string display_name = 3;
Returns
Type
Description
ByteString
The bytes for displayName.
getName()
Resource name for this account summary.
Format: accountSummaries/{account_id}
Example: "accountSummaries/1000"
string name = 1;
Returns
Type
Description
String
The name.
getNameBytes()
public ByteString getNameBytes ()
Resource name for this account summary.
Format: accountSummaries/{account_id}
Example: "accountSummaries/1000"
string name = 1;
Returns
getParserForType()
public Parser<AccountSummary> getParserForType ()
Returns
Overrides
getPropertySummaries(int index)
public PropertySummary getPropertySummaries ( int index )
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4;
Parameter
Name
Description
index
int
Returns
getPropertySummariesCount()
public int getPropertySummariesCount ()
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4;
Returns
getPropertySummariesList()
public List<PropertySummary> getPropertySummariesList ()
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4;
Returns
getPropertySummariesOrBuilder(int index)
public PropertySummaryOrBuilder getPropertySummariesOrBuilder ( int index )
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4;
Parameter
Name
Description
index
int
Returns
getPropertySummariesOrBuilderList()
public List <? extends PropertySummaryOrBuilder > getPropertySummariesOrBuilderList ()
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4;
Returns
Type
Description
List <? extends com.google.analytics.admin.v1beta.PropertySummaryOrBuilder >
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 AccountSummary . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AccountSummary . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public AccountSummary . 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-07-01 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-07-01 UTC."],[[["This webpage provides documentation for the `AccountSummary` class within the Google Analytics Admin v1beta Java library, specifically version 0.20.0, and provides access to a wide range of versions from 0.14.0 up to the latest 0.70.0."],["The `AccountSummary` class is a virtual resource that offers an overview of a Google Analytics account and all its associated GA4 properties, serving as a container for information about the account."],["The `AccountSummary` class implements the `AccountSummaryOrBuilder` interface and inherits from `GeneratedMessageV3`, `AbstractMessage`, and `AbstractMessageLite` classes, utilizing a number of inherited methods from them."],["The documentation includes both static fields, such as `ACCOUNT_FIELD_NUMBER`, `DISPLAY_NAME_FIELD_NUMBER`, `NAME_FIELD_NUMBER`, and `PROPERTY_SUMMARIES_FIELD_NUMBER`, and static methods like `getDefaultInstance()`, `getDescriptor()`, and multiple `parseFrom()` methods for constructing `AccountSummary` objects."],["The documentation lists a vast number of accessible methods for the `AccountSummary` object, as well as listing parameters, returns, exceptions and overrides for each of the methods."]]],[]]