Class UpdateHomepageRequest.Builder (0.2.0)

public static final class UpdateHomepageRequest.Builder extends GeneratedMessageV3.Builder<UpdateHomepageRequest.Builder> implements UpdateHomepageRequestOrBuilder

Request message for the UpdateHomepage method.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateHomepageRequest build()
Returns
Type Description
UpdateHomepageRequest

buildPartial()

public UpdateHomepageRequest buildPartial()
Returns
Type Description
UpdateHomepageRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearHomepage()

public UpdateHomepageRequest.Builder clearHomepage()

Required. The new version of the homepage.

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

Returns
Type Description
UpdateHomepageRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateHomepageRequest.Builder clearUpdateMask()

Required. List of fields being updated.

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

Returns
Type Description
UpdateHomepageRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateHomepageRequest getDefaultInstanceForType()
Returns
Type Description
UpdateHomepageRequest

getDescriptorForType()

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

getHomepage()

public Homepage getHomepage()

Required. The new version of the homepage.

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

Returns
Type Description
Homepage

The homepage.

getHomepageBuilder()

public Homepage.Builder getHomepageBuilder()

Required. The new version of the homepage.

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

Returns
Type Description
Homepage.Builder

getHomepageOrBuilder()

public HomepageOrBuilder getHomepageOrBuilder()

Required. The new version of the homepage.

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

Returns
Type Description
HomepageOrBuilder

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

hasHomepage()

public boolean hasHomepage()

Required. The new version of the homepage.

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

Returns
Type Description
boolean

Whether the homepage 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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(UpdateHomepageRequest other)

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

mergeHomepage(Homepage value)

public UpdateHomepageRequest.Builder mergeHomepage(Homepage value)

Required. The new version of the homepage.

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

Parameter
Name Description
value Homepage
Returns
Type Description
UpdateHomepageRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setHomepage(Homepage value)

public UpdateHomepageRequest.Builder setHomepage(Homepage value)

Required. The new version of the homepage.

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

Parameter
Name Description
value Homepage
Returns
Type Description
UpdateHomepageRequest.Builder

setHomepage(Homepage.Builder builderForValue)

public UpdateHomepageRequest.Builder setHomepage(Homepage.Builder builderForValue)

Required. The new version of the homepage.

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

Parameter
Name Description
builderForValue Homepage.Builder
Returns
Type Description
UpdateHomepageRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

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

setUpdateMask(FieldMask.Builder builderForValue)

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