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.v1alpha.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
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.v1alpha.PropertySummary property_summaries = 4;
Parameter
Returns
getPropertySummariesCount()
public int getPropertySummariesCount()
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4;
Returns
getPropertySummariesList()
public List<PropertySummary> getPropertySummariesList()
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1alpha.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.v1alpha.PropertySummary property_summaries = 4;
Parameter
Returns
getPropertySummariesOrBuilderList()
public List<? extends PropertySummaryOrBuilder> getPropertySummariesOrBuilderList()
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4;
Returns
Type | Description |
List<? extends com.google.analytics.admin.v1alpha.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