- 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 Account.Builder extends GeneratedMessageV3.Builder<Account.Builder> implements AccountOrBuilder
A resource message representing a Google Analytics account.
Protobuf type google.analytics.admin.v1beta.Account
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Account.BuilderImplements
AccountOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Account.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Account.Builder |
build()
public Account build()
Returns | |
---|---|
Type | Description |
Account |
buildPartial()
public Account buildPartial()
Returns | |
---|---|
Type | Description |
Account |
clear()
public Account.Builder clear()
Returns | |
---|---|
Type | Description |
Account.Builder |
clearCreateTime()
public Account.Builder clearCreateTime()
Output only. Time when this account was originally created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Account.Builder |
clearDeleted()
public Account.Builder clearDeleted()
Output only. Indicates whether this Account is soft-deleted or not. Deleted accounts are excluded from List results unless specifically requested.
bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Account.Builder |
This builder for chaining. |
clearDisplayName()
public Account.Builder clearDisplayName()
Required. Human-readable display name for this account.
string display_name = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Account.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Account.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Account.Builder |
clearName()
public Account.Builder clearName()
Output only. Resource name of this account. Format: accounts/{account} Example: "accounts/100"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Account.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Account.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Account.Builder |
clearRegionCode()
public Account.Builder clearRegionCode()
Country of business. Must be a Unicode CLDR region code.
string region_code = 5;
Returns | |
---|---|
Type | Description |
Account.Builder |
This builder for chaining. |
clearUpdateTime()
public Account.Builder clearUpdateTime()
Output only. Time when account payload fields were last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Account.Builder |
clone()
public Account.Builder clone()
Returns | |
---|---|
Type | Description |
Account.Builder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Time when this account was originally created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Time when this account was originally created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when this account was originally created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Account getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Account |
getDeleted()
public boolean getDeleted()
Output only. Indicates whether this Account is soft-deleted or not. Deleted accounts are excluded from List results unless specifically requested.
bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The deleted. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Required. Human-readable display name for this account.
string display_name = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. Human-readable display name for this account.
string display_name = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getName()
public String getName()
Output only. Resource name of this account. Format: accounts/{account} Example: "accounts/100"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. Resource name of this account. Format: accounts/{account} Example: "accounts/100"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getRegionCode()
public String getRegionCode()
Country of business. Must be a Unicode CLDR region code.
string region_code = 5;
Returns | |
---|---|
Type | Description |
String |
The regionCode. |
getRegionCodeBytes()
public ByteString getRegionCodeBytes()
Country of business. Must be a Unicode CLDR region code.
string region_code = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for regionCode. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Time when account payload fields were last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Time when account payload fields were last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when account payload fields were last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. Time when this account was originally created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Time when account payload fields were last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Account.Builder mergeCreateTime(Timestamp value)
Output only. Time when this account was originally created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Account.Builder |
mergeFrom(Account other)
public Account.Builder mergeFrom(Account other)
Parameter | |
---|---|
Name | Description |
other |
Account |
Returns | |
---|---|
Type | Description |
Account.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Account.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Account.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Account.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Account.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Account.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Account.Builder |
mergeUpdateTime(Timestamp value)
public Account.Builder mergeUpdateTime(Timestamp value)
Output only. Time when account payload fields were last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Account.Builder |
setCreateTime(Timestamp value)
public Account.Builder setCreateTime(Timestamp value)
Output only. Time when this account was originally created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Account.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Account.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Time when this account was originally created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Account.Builder |
setDeleted(boolean value)
public Account.Builder setDeleted(boolean value)
Output only. Indicates whether this Account is soft-deleted or not. Deleted accounts are excluded from List results unless specifically requested.
bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
boolean The deleted to set. |
Returns | |
---|---|
Type | Description |
Account.Builder |
This builder for chaining. |
setDisplayName(String value)
public Account.Builder setDisplayName(String value)
Required. Human-readable display name for this account.
string display_name = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
Account.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Account.Builder setDisplayNameBytes(ByteString value)
Required. Human-readable display name for this account.
string display_name = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
Account.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Account.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Account.Builder |
setName(String value)
public Account.Builder setName(String value)
Output only. Resource name of this account. Format: accounts/{account} Example: "accounts/100"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Account.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Account.Builder setNameBytes(ByteString value)
Output only. Resource name of this account. Format: accounts/{account} Example: "accounts/100"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Account.Builder |
This builder for chaining. |
setRegionCode(String value)
public Account.Builder setRegionCode(String value)
Country of business. Must be a Unicode CLDR region code.
string region_code = 5;
Parameter | |
---|---|
Name | Description |
value |
String The regionCode to set. |
Returns | |
---|---|
Type | Description |
Account.Builder |
This builder for chaining. |
setRegionCodeBytes(ByteString value)
public Account.Builder setRegionCodeBytes(ByteString value)
Country of business. Must be a Unicode CLDR region code.
string region_code = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for regionCode to set. |
Returns | |
---|---|
Type | Description |
Account.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Account.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Account.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Account.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Account.Builder |
setUpdateTime(Timestamp value)
public Account.Builder setUpdateTime(Timestamp value)
Output only. Time when account payload fields were last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Account.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Account.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Time when account payload fields were last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Account.Builder |