public static final class UpdateAccountRequest.Builder extends GeneratedMessage.Builder<UpdateAccountRequest.Builder> implements UpdateAccountRequestOrBuilder Request message for the UpdateAccount method.
Protobuf type google.shopping.merchant.accounts.v1beta.UpdateAccountRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateAccountRequest.BuilderImplements
UpdateAccountRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateAccountRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateAccountRequest |
|
buildPartial()
public UpdateAccountRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateAccountRequest |
|
clear()
public UpdateAccountRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateAccountRequest.Builder |
|
clearAccount()
public UpdateAccountRequest.Builder clearAccount()Required. The new version of the account.
.google.shopping.merchant.accounts.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateAccountRequest.Builder |
|
clearUpdateMask()
public UpdateAccountRequest.Builder clearUpdateMask()Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateAccountRequest.Builder |
|
getAccount()
public Account getAccount()Required. The new version of the account.
.google.shopping.merchant.accounts.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Account |
The account. |
getAccountBuilder()
public Account.Builder getAccountBuilder()Required. The new version of the account.
.google.shopping.merchant.accounts.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Account.Builder |
|
getAccountOrBuilder()
public AccountOrBuilder getAccountOrBuilder()Required. The new version of the account.
.google.shopping.merchant.accounts.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AccountOrBuilder |
|
getDefaultInstanceForType()
public UpdateAccountRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateAccountRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUpdateMask()
public FieldMask getUpdateMask()Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasAccount()
public boolean hasAccount()Required. The new version of the account.
.google.shopping.merchant.accounts.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the account field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAccount(Account value)
public UpdateAccountRequest.Builder mergeAccount(Account value)Required. The new version of the account.
.google.shopping.merchant.accounts.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Account |
| Returns | |
|---|---|
| Type | Description |
UpdateAccountRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateAccountRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateAccountRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateAccountRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateAccountRequest.Builder |
|
mergeFrom(UpdateAccountRequest other)
public UpdateAccountRequest.Builder mergeFrom(UpdateAccountRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateAccountRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateAccountRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateAccountRequest.Builder mergeUpdateMask(FieldMask value)Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateAccountRequest.Builder |
|
setAccount(Account value)
public UpdateAccountRequest.Builder setAccount(Account value)Required. The new version of the account.
.google.shopping.merchant.accounts.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Account |
| Returns | |
|---|---|
| Type | Description |
UpdateAccountRequest.Builder |
|
setAccount(Account.Builder builderForValue)
public UpdateAccountRequest.Builder setAccount(Account.Builder builderForValue)Required. The new version of the account.
.google.shopping.merchant.accounts.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Account.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateAccountRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateAccountRequest.Builder setUpdateMask(FieldMask value)Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateAccountRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateAccountRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateAccountRequest.Builder |
|