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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ACCOUNT_FIELD_NUMBER
public static final int ACCOUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PROPERTY_SUMMARIES_FIELD_NUMBER
public static final int PROPERTY_SUMMARIES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static AccountSummary getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AccountSummary.Builder newBuilder()
newBuilder(AccountSummary prototype)
public static AccountSummary.Builder newBuilder(AccountSummary prototype)
public static AccountSummary parseDelimitedFrom(InputStream input)
public static AccountSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AccountSummary parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AccountSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AccountSummary parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AccountSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AccountSummary parseFrom(CodedInputStream input)
public static AccountSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AccountSummary parseFrom(InputStream input)
public static AccountSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AccountSummary parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AccountSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AccountSummary> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<AccountSummary> getParserForType()
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
|
getPropertySummariesCount()
public int getPropertySummariesCount()
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4;
Returns |
---|
Type | Description |
int | |
getPropertySummariesList()
public List<PropertySummary> getPropertySummariesList()
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4;
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
|
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 |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AccountSummary.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AccountSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AccountSummary.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides