public static final class UpdatePrivateOfferRequest.Builder extends GeneratedMessage.Builder<UpdatePrivateOfferRequest.Builder> implements UpdatePrivateOfferRequestOrBuilderMessage for updating a PrivateOffer
Protobuf type google.cloud.commerceproducer.v1beta.UpdatePrivateOfferRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdatePrivateOfferRequest.BuilderImplements
UpdatePrivateOfferRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdatePrivateOfferRequest build()| Returns | |
|---|---|
| Type | Description |
UpdatePrivateOfferRequest |
|
buildPartial()
public UpdatePrivateOfferRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdatePrivateOfferRequest |
|
clear()
public UpdatePrivateOfferRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdatePrivateOfferRequest.Builder |
|
clearPrivateOffer()
public UpdatePrivateOfferRequest.Builder clearPrivateOffer()Required. The resource being updated
.google.cloud.commerceproducer.v1beta.PrivateOffer private_offer = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdatePrivateOfferRequest.Builder |
|
clearUpdateMask()
public UpdatePrivateOfferRequest.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 = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdatePrivateOfferRequest.Builder |
|
getDefaultInstanceForType()
public UpdatePrivateOfferRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdatePrivateOfferRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPrivateOffer()
public PrivateOffer getPrivateOffer()Required. The resource being updated
.google.cloud.commerceproducer.v1beta.PrivateOffer private_offer = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PrivateOffer |
The privateOffer. |
getPrivateOfferBuilder()
public PrivateOffer.Builder getPrivateOfferBuilder()Required. The resource being updated
.google.cloud.commerceproducer.v1beta.PrivateOffer private_offer = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.Builder |
|
getPrivateOfferOrBuilder()
public PrivateOfferOrBuilder getPrivateOfferOrBuilder()Required. The resource being updated
.google.cloud.commerceproducer.v1beta.PrivateOffer private_offer = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PrivateOfferOrBuilder |
|
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 = 1 [(.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 = 1 [(.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 = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasPrivateOffer()
public boolean hasPrivateOffer()Required. The resource being updated
.google.cloud.commerceproducer.v1beta.PrivateOffer private_offer = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the privateOffer 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 = 1 [(.google.api.field_behavior) = OPTIONAL];
| 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 |
|
mergeFrom(UpdatePrivateOfferRequest other)
public UpdatePrivateOfferRequest.Builder mergeFrom(UpdatePrivateOfferRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdatePrivateOfferRequest |
| Returns | |
|---|---|
| Type | Description |
UpdatePrivateOfferRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdatePrivateOfferRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdatePrivateOfferRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdatePrivateOfferRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdatePrivateOfferRequest.Builder |
|
mergePrivateOffer(PrivateOffer value)
public UpdatePrivateOfferRequest.Builder mergePrivateOffer(PrivateOffer value)Required. The resource being updated
.google.cloud.commerceproducer.v1beta.PrivateOffer private_offer = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
PrivateOffer |
| Returns | |
|---|---|
| Type | Description |
UpdatePrivateOfferRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdatePrivateOfferRequest.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 = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdatePrivateOfferRequest.Builder |
|
setPrivateOffer(PrivateOffer value)
public UpdatePrivateOfferRequest.Builder setPrivateOffer(PrivateOffer value)Required. The resource being updated
.google.cloud.commerceproducer.v1beta.PrivateOffer private_offer = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
PrivateOffer |
| Returns | |
|---|---|
| Type | Description |
UpdatePrivateOfferRequest.Builder |
|
setPrivateOffer(PrivateOffer.Builder builderForValue)
public UpdatePrivateOfferRequest.Builder setPrivateOffer(PrivateOffer.Builder builderForValue)Required. The resource being updated
.google.cloud.commerceproducer.v1beta.PrivateOffer private_offer = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PrivateOffer.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdatePrivateOfferRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdatePrivateOfferRequest.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 = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdatePrivateOfferRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdatePrivateOfferRequest.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 = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdatePrivateOfferRequest.Builder |
|