public static final class UpdateAccountRequest.Builder extends GeneratedMessageV3.Builder<UpdateAccountRequest.Builder> implements UpdateAccountRequestOrBuilder
Request message for UpdateAccount RPC.
Protobuf type google.analytics.admin.v1alpha.UpdateAccountRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAccountRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overridesbuild()
public UpdateAccountRequest build()
buildPartial()
public UpdateAccountRequest buildPartial()
clear()
public UpdateAccountRequest.Builder clear()
OverridesclearAccount()
public UpdateAccountRequest.Builder clearAccount()
Required. The account to update. The account's name
field is used to identify the account.
.google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateAccountRequest.Builder clearField(Descriptors.FieldDescriptor field)
OverridesclearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAccountRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
OverridesclearUpdateMask()
public UpdateAccountRequest.Builder clearUpdateMask()
Required. The list of fields to be updated. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateAccountRequest.Builder clone()
OverridesgetAccount()
public Account getAccount()
Required. The account to update. The account's name
field is used to identify the account.
.google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Account | The account. |
getAccountBuilder()
public Account.Builder getAccountBuilder()
Required. The account to update. The account's name
field is used to identify the account.
.google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
getAccountOrBuilder()
public AccountOrBuilder getAccountOrBuilder()
Required. The account to update. The account's name
field is used to identify the account.
.google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateAccountRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
OverridesgetUpdateMask()
public FieldMask getUpdateMask()
Required. The list of fields to be updated. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
FieldMask | The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. The list of fields to be updated. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. The list of fields to be updated. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
hasAccount()
public boolean hasAccount()
Required. The account to update. The account's name
field is used to identify the account.
.google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the account field is set. |
hasUpdateMask()
public boolean hasUpdateMask()
Required. The list of fields to be updated. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
OverridesisInitialized()
public final boolean isInitialized()
OverridesmergeAccount(Account value)
public UpdateAccountRequest.Builder mergeAccount(Account value)
Required. The account to update. The account's name
field is used to identify the account.
.google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | Account
|
mergeFrom(UpdateAccountRequest other)
public UpdateAccountRequest.Builder mergeFrom(UpdateAccountRequest other)
public UpdateAccountRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
OverridesmergeFrom(Message other)
public UpdateAccountRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
OverridesmergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAccountRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
OverridesmergeUpdateMask(FieldMask value)
public UpdateAccountRequest.Builder mergeUpdateMask(FieldMask value)
Required. The list of fields to be updated. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setAccount(Account value)
public UpdateAccountRequest.Builder setAccount(Account value)
Required. The account to update. The account's name
field is used to identify the account.
.google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | Account
|
setAccount(Account.Builder builderForValue)
public UpdateAccountRequest.Builder setAccount(Account.Builder builderForValue)
Required. The account to update. The account's name
field is used to identify the account.
.google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAccountRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
OverridessetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAccountRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
OverridessetUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAccountRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
OverridessetUpdateMask(FieldMask value)
public UpdateAccountRequest.Builder setUpdateMask(FieldMask value)
Required. The list of fields to be updated. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateAccountRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. The list of fields to be updated. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
builderForValue | Builder
|