Class UpdateBusinessInfoRequest.Builder (0.11.0)

public static final class UpdateBusinessInfoRequest.Builder extends GeneratedMessageV3.Builder<UpdateBusinessInfoRequest.Builder> implements UpdateBusinessInfoRequestOrBuilder

Request message for the UpdateBusinessInfo method.

Protobuf type google.shopping.merchant.accounts.v1beta.UpdateBusinessInfoRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateBusinessInfoRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateBusinessInfoRequest.Builder
Overrides

build()

public UpdateBusinessInfoRequest build()
Returns
Type Description
UpdateBusinessInfoRequest

buildPartial()

public UpdateBusinessInfoRequest buildPartial()
Returns
Type Description
UpdateBusinessInfoRequest

clear()

public UpdateBusinessInfoRequest.Builder clear()
Returns
Type Description
UpdateBusinessInfoRequest.Builder
Overrides

clearBusinessInfo()

public UpdateBusinessInfoRequest.Builder clearBusinessInfo()

Required. The new version of the business info.

.google.shopping.merchant.accounts.v1beta.BusinessInfo business_info = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateBusinessInfoRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateBusinessInfoRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateBusinessInfoRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateBusinessInfoRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateBusinessInfoRequest.Builder
Overrides

clearUpdateMask()

public UpdateBusinessInfoRequest.Builder clearUpdateMask()

Required. List of fields being updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateBusinessInfoRequest.Builder

clone()

public UpdateBusinessInfoRequest.Builder clone()
Returns
Type Description
UpdateBusinessInfoRequest.Builder
Overrides

getBusinessInfo()

public BusinessInfo getBusinessInfo()

Required. The new version of the business info.

.google.shopping.merchant.accounts.v1beta.BusinessInfo business_info = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BusinessInfo

The businessInfo.

getBusinessInfoBuilder()

public BusinessInfo.Builder getBusinessInfoBuilder()

Required. The new version of the business info.

.google.shopping.merchant.accounts.v1beta.BusinessInfo business_info = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BusinessInfo.Builder

getBusinessInfoOrBuilder()

public BusinessInfoOrBuilder getBusinessInfoOrBuilder()

Required. The new version of the business info.

.google.shopping.merchant.accounts.v1beta.BusinessInfo business_info = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BusinessInfoOrBuilder

getDefaultInstanceForType()

public UpdateBusinessInfoRequest getDefaultInstanceForType()
Returns
Type Description
UpdateBusinessInfoRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

hasBusinessInfo()

public boolean hasBusinessInfo()

Required. The new version of the business info.

.google.shopping.merchant.accounts.v1beta.BusinessInfo business_info = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the businessInfo 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBusinessInfo(BusinessInfo value)

public UpdateBusinessInfoRequest.Builder mergeBusinessInfo(BusinessInfo value)

Required. The new version of the business info.

.google.shopping.merchant.accounts.v1beta.BusinessInfo business_info = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BusinessInfo
Returns
Type Description
UpdateBusinessInfoRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateBusinessInfoRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateBusinessInfoRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateBusinessInfoRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateBusinessInfoRequest.Builder
Overrides

mergeFrom(UpdateBusinessInfoRequest other)

public UpdateBusinessInfoRequest.Builder mergeFrom(UpdateBusinessInfoRequest other)
Parameter
Name Description
other UpdateBusinessInfoRequest
Returns
Type Description
UpdateBusinessInfoRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateBusinessInfoRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateBusinessInfoRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateBusinessInfoRequest.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
UpdateBusinessInfoRequest.Builder

setBusinessInfo(BusinessInfo value)

public UpdateBusinessInfoRequest.Builder setBusinessInfo(BusinessInfo value)

Required. The new version of the business info.

.google.shopping.merchant.accounts.v1beta.BusinessInfo business_info = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BusinessInfo
Returns
Type Description
UpdateBusinessInfoRequest.Builder

setBusinessInfo(BusinessInfo.Builder builderForValue)

public UpdateBusinessInfoRequest.Builder setBusinessInfo(BusinessInfo.Builder builderForValue)

Required. The new version of the business info.

.google.shopping.merchant.accounts.v1beta.BusinessInfo business_info = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue BusinessInfo.Builder
Returns
Type Description
UpdateBusinessInfoRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateBusinessInfoRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateBusinessInfoRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateBusinessInfoRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateBusinessInfoRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateBusinessInfoRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateBusinessInfoRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateBusinessInfoRequest.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
UpdateBusinessInfoRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateBusinessInfoRequest.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
UpdateBusinessInfoRequest.Builder