Class AccountSummary.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AccountSummary.Builder>
com.google.analytics.admin.v1beta.AccountSummary.Builder
- All Implemented Interfaces:
AccountSummaryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AccountSummary
public static final class AccountSummary.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AccountSummary.Builder>
implements AccountSummaryOrBuilder
A virtual resource representing an overview of an account and all its child Google Analytics properties.Protobuf type
google.analytics.admin.v1beta.AccountSummary-
Method Summary
Modifier and TypeMethodDescriptionaddAllPropertySummaries(Iterable<? extends PropertySummary> values) List of summaries for child accounts of this account.addPropertySummaries(int index, PropertySummary value) List of summaries for child accounts of this account.addPropertySummaries(int index, PropertySummary.Builder builderForValue) List of summaries for child accounts of this account.List of summaries for child accounts of this account.addPropertySummaries(PropertySummary.Builder builderForValue) List of summaries for child accounts of this account.List of summaries for child accounts of this account.addPropertySummariesBuilder(int index) List of summaries for child accounts of this account.build()clear()Resource name of account referred to by this account summary Format: accounts/{account_id} Example: "accounts/1000"Display name for the account referred to in this account summary.Resource name for this account summary.List of summaries for child accounts of this account.Resource name of account referred to by this account summary Format: accounts/{account_id} Example: "accounts/1000"com.google.protobuf.ByteStringResource name of account referred to by this account summary Format: accounts/{account_id} Example: "accounts/1000"static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDisplay name for the account referred to in this account summary.com.google.protobuf.ByteStringDisplay name for the account referred to in this account summary.getName()Resource name for this account summary.com.google.protobuf.ByteStringResource name for this account summary.getPropertySummaries(int index) List of summaries for child accounts of this account.getPropertySummariesBuilder(int index) List of summaries for child accounts of this account.List of summaries for child accounts of this account.intList of summaries for child accounts of this account.List of summaries for child accounts of this account.getPropertySummariesOrBuilder(int index) List of summaries for child accounts of this account.List<? extends PropertySummaryOrBuilder>List of summaries for child accounts of this account.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(AccountSummary other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removePropertySummaries(int index) List of summaries for child accounts of this account.setAccount(String value) Resource name of account referred to by this account summary Format: accounts/{account_id} Example: "accounts/1000"setAccountBytes(com.google.protobuf.ByteString value) Resource name of account referred to by this account summary Format: accounts/{account_id} Example: "accounts/1000"setDisplayName(String value) Display name for the account referred to in this account summary.setDisplayNameBytes(com.google.protobuf.ByteString value) Display name for the account referred to in this account summary.Resource name for this account summary.setNameBytes(com.google.protobuf.ByteString value) Resource name for this account summary.setPropertySummaries(int index, PropertySummary value) List of summaries for child accounts of this account.setPropertySummaries(int index, PropertySummary.Builder builderForValue) List of summaries for child accounts of this account.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AccountSummary.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AccountSummary.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AccountSummary.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AccountSummary.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AccountSummary.Builder>
-
mergeFrom
public AccountSummary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AccountSummary.Builder>- Throws:
IOException
-
getName
Resource name for this account summary. Format: accountSummaries/{account_id} Example: "accountSummaries/1000"string name = 1;- Specified by:
getNamein interfaceAccountSummaryOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Resource name for this account summary. Format: accountSummaries/{account_id} Example: "accountSummaries/1000"string name = 1;- Specified by:
getNameBytesin interfaceAccountSummaryOrBuilder- Returns:
- The bytes for name.
-
setName
Resource name for this account summary. Format: accountSummaries/{account_id} Example: "accountSummaries/1000"string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Resource name for this account summary. Format: accountSummaries/{account_id} Example: "accountSummaries/1000"string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Resource name for this account summary. Format: accountSummaries/{account_id} Example: "accountSummaries/1000"string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Specified by:
getAccountin interfaceAccountSummaryOrBuilder- Returns:
- The account.
-
getAccountBytes
public com.google.protobuf.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) = { ... }- Specified by:
getAccountBytesin interfaceAccountSummaryOrBuilder- Returns:
- The bytes for account.
-
setAccount
Resource name of account referred to by this account summary Format: accounts/{account_id} Example: "accounts/1000"string account = 2 [(.google.api.resource_reference) = { ... }- Parameters:
value- The account to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setAccountBytes
Resource name of account referred to by this account summary Format: accounts/{account_id} Example: "accounts/1000"string account = 2 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for account to set.- Returns:
- This builder for chaining.
-
getDisplayName
Display name for the account referred to in this account summary.
string display_name = 3;- Specified by:
getDisplayNamein interfaceAccountSummaryOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Display name for the account referred to in this account summary.
string display_name = 3;- Specified by:
getDisplayNameBytesin interfaceAccountSummaryOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Display name for the account referred to in this account summary.
string display_name = 3;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Display name for the account referred to in this account summary.
string display_name = 3;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Display name for the account referred to in this account summary.
string display_name = 3;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getPropertySummariesList
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4;- Specified by:
getPropertySummariesListin interfaceAccountSummaryOrBuilder
-
getPropertySummariesCount
public int getPropertySummariesCount()List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4;- Specified by:
getPropertySummariesCountin interfaceAccountSummaryOrBuilder
-
getPropertySummaries
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4;- Specified by:
getPropertySummariesin interfaceAccountSummaryOrBuilder
-
setPropertySummaries
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; -
setPropertySummaries
public AccountSummary.Builder setPropertySummaries(int index, PropertySummary.Builder builderForValue) List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; -
addPropertySummaries
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; -
addPropertySummaries
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; -
addPropertySummaries
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; -
addPropertySummaries
public AccountSummary.Builder addPropertySummaries(int index, PropertySummary.Builder builderForValue) List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; -
addAllPropertySummaries
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; -
clearPropertySummaries
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; -
removePropertySummaries
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; -
getPropertySummariesBuilder
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; -
getPropertySummariesOrBuilder
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4;- Specified by:
getPropertySummariesOrBuilderin interfaceAccountSummaryOrBuilder
-
getPropertySummariesOrBuilderList
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4;- Specified by:
getPropertySummariesOrBuilderListin interfaceAccountSummaryOrBuilder
-
addPropertySummariesBuilder
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; -
addPropertySummariesBuilder
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; -
getPropertySummariesBuilderList
List of summaries for child accounts of this account.
repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4;
-