public static final class UpdateAccountRequest.Builder extends GeneratedMessageV3.Builder<UpdateAccountRequest.Builder> implements UpdateAccountRequestOrBuilder
Request message for the UpdateAccount
method.
Protobuf type google.shopping.merchant.accounts.v1beta.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
public static final Descriptors.Descriptor getDescriptor()
Methods
public UpdateAccountRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateAccountRequest build()
public UpdateAccountRequest buildPartial()
public UpdateAccountRequest.Builder clear()
Overrides
public UpdateAccountRequest.Builder clearAccount()
Required. The new version of the account.
.google.shopping.merchant.accounts.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateAccountRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UpdateAccountRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public UpdateAccountRequest.Builder clearUpdateMask()
Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateAccountRequest.Builder clone()
Overrides
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.
|
public Account.Builder getAccountBuilder()
Required. The new version of the account.
.google.shopping.merchant.accounts.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
public AccountOrBuilder getAccountOrBuilder()
Required. The new version of the account.
.google.shopping.merchant.accounts.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateAccountRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
public FieldMask.Builder getUpdateMaskBuilder()
Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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
|
public UpdateAccountRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpdateAccountRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public UpdateAccountRequest.Builder mergeFrom(UpdateAccountRequest other)
public final UpdateAccountRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public UpdateAccountRequest.Builder mergeUpdateMask(FieldMask value)
Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
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
|
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];
public UpdateAccountRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateAccountRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UpdateAccountRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public UpdateAccountRequest.Builder setUpdateMask(FieldMask value)
Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
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
|