Class UpdatePrivateOfferDocumentRequest.Builder (0.1.0)

public static final class UpdatePrivateOfferDocumentRequest.Builder extends GeneratedMessage.Builder<UpdatePrivateOfferDocumentRequest.Builder> implements UpdatePrivateOfferDocumentRequestOrBuilder

Message for updating a PrivateOfferDocument

Protobuf type google.cloud.commerceproducer.v1beta.UpdatePrivateOfferDocumentRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdatePrivateOfferDocumentRequest build()
Returns
Type Description
UpdatePrivateOfferDocumentRequest

buildPartial()

public UpdatePrivateOfferDocumentRequest buildPartial()
Returns
Type Description
UpdatePrivateOfferDocumentRequest

clear()

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

clearPrivateOfferDocument()

public UpdatePrivateOfferDocumentRequest.Builder clearPrivateOfferDocument()

Required. The resource being updated.

.google.cloud.commerceproducer.v1beta.PrivateOfferDocument private_offer_document = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdatePrivateOfferDocumentRequest.Builder

clearUpdateMask()

public UpdatePrivateOfferDocumentRequest.Builder clearUpdateMask()

Optional. The list of fields to update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. If unspecified, all fields present in the request will be overwritten.

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

Returns
Type Description
UpdatePrivateOfferDocumentRequest.Builder

getDefaultInstanceForType()

public UpdatePrivateOfferDocumentRequest getDefaultInstanceForType()
Returns
Type Description
UpdatePrivateOfferDocumentRequest

getDescriptorForType()

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

getPrivateOfferDocument()

public PrivateOfferDocument getPrivateOfferDocument()

Required. The resource being updated.

.google.cloud.commerceproducer.v1beta.PrivateOfferDocument private_offer_document = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PrivateOfferDocument

The privateOfferDocument.

getPrivateOfferDocumentBuilder()

public PrivateOfferDocument.Builder getPrivateOfferDocumentBuilder()

Required. The resource being updated.

.google.cloud.commerceproducer.v1beta.PrivateOfferDocument private_offer_document = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PrivateOfferDocument.Builder

getPrivateOfferDocumentOrBuilder()

public PrivateOfferDocumentOrBuilder getPrivateOfferDocumentOrBuilder()

Required. The resource being updated.

.google.cloud.commerceproducer.v1beta.PrivateOfferDocument private_offer_document = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PrivateOfferDocumentOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The list of fields to update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. If unspecified, all fields present in the request will be overwritten.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The list of fields to update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. If unspecified, all fields present in the request will be overwritten.

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The list of fields to update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. If unspecified, all fields present in the request will be overwritten.

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

Returns
Type Description
FieldMaskOrBuilder

hasPrivateOfferDocument()

public boolean hasPrivateOfferDocument()

Required. The resource being updated.

.google.cloud.commerceproducer.v1beta.PrivateOfferDocument private_offer_document = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the privateOfferDocument field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The list of fields to update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. If unspecified, all fields present in the request will be overwritten.

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

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdatePrivateOfferDocumentRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePrivateOfferDocument(PrivateOfferDocument value)

public UpdatePrivateOfferDocumentRequest.Builder mergePrivateOfferDocument(PrivateOfferDocument value)

Required. The resource being updated.

.google.cloud.commerceproducer.v1beta.PrivateOfferDocument private_offer_document = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PrivateOfferDocument
Returns
Type Description
UpdatePrivateOfferDocumentRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdatePrivateOfferDocumentRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The list of fields to update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. If unspecified, all fields present in the request will be overwritten.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdatePrivateOfferDocumentRequest.Builder

setPrivateOfferDocument(PrivateOfferDocument value)

public UpdatePrivateOfferDocumentRequest.Builder setPrivateOfferDocument(PrivateOfferDocument value)

Required. The resource being updated.

.google.cloud.commerceproducer.v1beta.PrivateOfferDocument private_offer_document = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PrivateOfferDocument
Returns
Type Description
UpdatePrivateOfferDocumentRequest.Builder

setPrivateOfferDocument(PrivateOfferDocument.Builder builderForValue)

public UpdatePrivateOfferDocumentRequest.Builder setPrivateOfferDocument(PrivateOfferDocument.Builder builderForValue)

Required. The resource being updated.

.google.cloud.commerceproducer.v1beta.PrivateOfferDocument private_offer_document = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue PrivateOfferDocument.Builder
Returns
Type Description
UpdatePrivateOfferDocumentRequest.Builder

setUpdateMask(FieldMask value)

public UpdatePrivateOfferDocumentRequest.Builder setUpdateMask(FieldMask value)

Optional. The list of fields to update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. If unspecified, all fields present in the request will be overwritten.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdatePrivateOfferDocumentRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdatePrivateOfferDocumentRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The list of fields to update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. If unspecified, all fields present in the request will be overwritten.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdatePrivateOfferDocumentRequest.Builder