- 0.62.0 (latest)
- 0.61.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
public static final class AccountSummary.Builder extends GeneratedMessageV3.Builder<AccountSummary.Builder> implements AccountSummaryOrBuilder
A virtual resource representing an overview of an account and all its child GA4 properties.
Protobuf type google.analytics.admin.v1alpha.AccountSummary
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AccountSummary.BuilderImplements
AccountSummaryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllPropertySummaries(Iterable<? extends PropertySummary> values)
public AccountSummary.Builder addAllPropertySummaries(Iterable<? extends PropertySummary> values)
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.analytics.admin.v1alpha.PropertySummary> |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
addPropertySummaries(PropertySummary value)
public AccountSummary.Builder addPropertySummaries(PropertySummary value)
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4;
Parameter | |
---|---|
Name | Description |
value | PropertySummary |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
addPropertySummaries(PropertySummary.Builder builderForValue)
public AccountSummary.Builder addPropertySummaries(PropertySummary.Builder builderForValue)
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | PropertySummary.Builder |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
addPropertySummaries(int index, PropertySummary value)
public AccountSummary.Builder addPropertySummaries(int index, PropertySummary value)
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4;
Parameters | |
---|---|
Name | Description |
index | int |
value | PropertySummary |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
addPropertySummaries(int index, PropertySummary.Builder builderForValue)
public AccountSummary.Builder addPropertySummaries(int index, PropertySummary.Builder builderForValue)
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | PropertySummary.Builder |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
addPropertySummariesBuilder()
public PropertySummary.Builder addPropertySummariesBuilder()
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4;
Returns | |
---|---|
Type | Description |
PropertySummary.Builder |
addPropertySummariesBuilder(int index)
public PropertySummary.Builder addPropertySummariesBuilder(int index)
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
PropertySummary.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AccountSummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
build()
public AccountSummary build()
Returns | |
---|---|
Type | Description |
AccountSummary |
buildPartial()
public AccountSummary buildPartial()
Returns | |
---|---|
Type | Description |
AccountSummary |
clear()
public AccountSummary.Builder clear()
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
clearAccount()
public AccountSummary.Builder clearAccount()
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 |
AccountSummary.Builder | This builder for chaining. |
clearDisplayName()
public AccountSummary.Builder clearDisplayName()
Display name for the account referred to in this account summary.
string display_name = 3;
Returns | |
---|---|
Type | Description |
AccountSummary.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AccountSummary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
clearName()
public AccountSummary.Builder clearName()
Resource name for this account summary. Format: accountSummaries/{account_id} Example: "accountSummaries/1000"
string name = 1;
Returns | |
---|---|
Type | Description |
AccountSummary.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AccountSummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
clearPropertySummaries()
public AccountSummary.Builder clearPropertySummaries()
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4;
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
clone()
public AccountSummary.Builder clone()
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
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 | |
---|---|
Type | Description |
AccountSummary |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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()
public String 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. |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
PropertySummary |
getPropertySummariesBuilder(int index)
public PropertySummary.Builder getPropertySummariesBuilder(int index)
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
PropertySummary.Builder |
getPropertySummariesBuilderList()
public List<PropertySummary.Builder> getPropertySummariesBuilderList()
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4;
Returns | |
---|---|
Type | Description |
List<Builder> |
getPropertySummariesCount()
public int getPropertySummariesCount()
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1alpha.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.v1alpha.PropertySummary property_summaries = 4;
Returns | |
---|---|
Type | Description |
List<PropertySummary> |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
PropertySummaryOrBuilder |
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> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AccountSummary other)
public AccountSummary.Builder mergeFrom(AccountSummary other)
Parameter | |
---|---|
Name | Description |
other | AccountSummary |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AccountSummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AccountSummary.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AccountSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
removePropertySummaries(int index)
public AccountSummary.Builder removePropertySummaries(int index)
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
setAccount(String value)
public AccountSummary.Builder setAccount(String value)
Resource name of account referred to by this account summary Format: accounts/{account_id} Example: "accounts/1000"
string account = 2 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The account to set. |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder | This builder for chaining. |
setAccountBytes(ByteString value)
public AccountSummary.Builder setAccountBytes(ByteString value)
Resource name of account referred to by this account summary Format: accounts/{account_id} Example: "accounts/1000"
string account = 2 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for account to set. |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder | This builder for chaining. |
setDisplayName(String value)
public AccountSummary.Builder setDisplayName(String value)
Display name for the account referred to in this account summary.
string display_name = 3;
Parameter | |
---|---|
Name | Description |
value | String The displayName to set. |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public AccountSummary.Builder setDisplayNameBytes(ByteString value)
Display name for the account referred to in this account summary.
string display_name = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AccountSummary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
setName(String value)
public AccountSummary.Builder setName(String value)
Resource name for this account summary. Format: accountSummaries/{account_id} Example: "accountSummaries/1000"
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public AccountSummary.Builder setNameBytes(ByteString value)
Resource name for this account summary. Format: accountSummaries/{account_id} Example: "accountSummaries/1000"
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder | This builder for chaining. |
setPropertySummaries(int index, PropertySummary value)
public AccountSummary.Builder setPropertySummaries(int index, PropertySummary value)
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4;
Parameters | |
---|---|
Name | Description |
index | int |
value | PropertySummary |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
setPropertySummaries(int index, PropertySummary.Builder builderForValue)
public AccountSummary.Builder setPropertySummaries(int index, PropertySummary.Builder builderForValue)
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | PropertySummary.Builder |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AccountSummary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AccountSummary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AccountSummary.Builder |