public static final class ResolveAmendmentTargetRequest.Builder extends GeneratedMessage.Builder<ResolveAmendmentTargetRequest.Builder> implements ResolveAmendmentTargetRequestOrBuilderMessage for resolving an amended offer.
Protobuf type google.cloud.commerceproducer.v1beta.ResolveAmendmentTargetRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ResolveAmendmentTargetRequest.BuilderImplements
ResolveAmendmentTargetRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ResolveAmendmentTargetRequest build()| Returns | |
|---|---|
| Type | Description |
ResolveAmendmentTargetRequest |
|
buildPartial()
public ResolveAmendmentTargetRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ResolveAmendmentTargetRequest |
|
clear()
public ResolveAmendmentTargetRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ResolveAmendmentTargetRequest.Builder |
|
clearBaseStandardOffer()
public ResolveAmendmentTargetRequest.Builder clearBaseStandardOffer()Required. The base standard offer that the private offer will be based on. Format: projects/{project}/locations/{location}/services/{service}/standardOffers/{standard_offer}.
string base_standard_offer = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ResolveAmendmentTargetRequest.Builder |
This builder for chaining. |
clearParent()
public ResolveAmendmentTargetRequest.Builder clearParent()Required. Parent value for ResolveAmendmentTargetRequest
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ResolveAmendmentTargetRequest.Builder |
This builder for chaining. |
clearTargetBillingAccount()
public ResolveAmendmentTargetRequest.Builder clearTargetBillingAccount()Required. The customer's billing account targeted by the offer. This is the billing account for which the new private offer will be created on. Format: billingAccounts/{billing_account}.
string target_billing_account = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ResolveAmendmentTargetRequest.Builder |
This builder for chaining. |
getBaseStandardOffer()
public String getBaseStandardOffer()Required. The base standard offer that the private offer will be based on. Format: projects/{project}/locations/{location}/services/{service}/standardOffers/{standard_offer}.
string base_standard_offer = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The baseStandardOffer. |
getBaseStandardOfferBytes()
public ByteString getBaseStandardOfferBytes()Required. The base standard offer that the private offer will be based on. Format: projects/{project}/locations/{location}/services/{service}/standardOffers/{standard_offer}.
string base_standard_offer = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for baseStandardOffer. |
getDefaultInstanceForType()
public ResolveAmendmentTargetRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ResolveAmendmentTargetRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. Parent value for ResolveAmendmentTargetRequest
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. Parent value for ResolveAmendmentTargetRequest
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getTargetBillingAccount()
public String getTargetBillingAccount()Required. The customer's billing account targeted by the offer. This is the billing account for which the new private offer will be created on. Format: billingAccounts/{billing_account}.
string target_billing_account = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The targetBillingAccount. |
getTargetBillingAccountBytes()
public ByteString getTargetBillingAccountBytes()Required. The customer's billing account targeted by the offer. This is the billing account for which the new private offer will be created on. Format: billingAccounts/{billing_account}.
string target_billing_account = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for targetBillingAccount. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ResolveAmendmentTargetRequest other)
public ResolveAmendmentTargetRequest.Builder mergeFrom(ResolveAmendmentTargetRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ResolveAmendmentTargetRequest |
| Returns | |
|---|---|
| Type | Description |
ResolveAmendmentTargetRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResolveAmendmentTargetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResolveAmendmentTargetRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ResolveAmendmentTargetRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ResolveAmendmentTargetRequest.Builder |
|
setBaseStandardOffer(String value)
public ResolveAmendmentTargetRequest.Builder setBaseStandardOffer(String value)Required. The base standard offer that the private offer will be based on. Format: projects/{project}/locations/{location}/services/{service}/standardOffers/{standard_offer}.
string base_standard_offer = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe baseStandardOffer to set. |
| Returns | |
|---|---|
| Type | Description |
ResolveAmendmentTargetRequest.Builder |
This builder for chaining. |
setBaseStandardOfferBytes(ByteString value)
public ResolveAmendmentTargetRequest.Builder setBaseStandardOfferBytes(ByteString value)Required. The base standard offer that the private offer will be based on. Format: projects/{project}/locations/{location}/services/{service}/standardOffers/{standard_offer}.
string base_standard_offer = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for baseStandardOffer to set. |
| Returns | |
|---|---|
| Type | Description |
ResolveAmendmentTargetRequest.Builder |
This builder for chaining. |
setParent(String value)
public ResolveAmendmentTargetRequest.Builder setParent(String value)Required. Parent value for ResolveAmendmentTargetRequest
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ResolveAmendmentTargetRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ResolveAmendmentTargetRequest.Builder setParentBytes(ByteString value)Required. Parent value for ResolveAmendmentTargetRequest
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ResolveAmendmentTargetRequest.Builder |
This builder for chaining. |
setTargetBillingAccount(String value)
public ResolveAmendmentTargetRequest.Builder setTargetBillingAccount(String value)Required. The customer's billing account targeted by the offer. This is the billing account for which the new private offer will be created on. Format: billingAccounts/{billing_account}.
string target_billing_account = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe targetBillingAccount to set. |
| Returns | |
|---|---|
| Type | Description |
ResolveAmendmentTargetRequest.Builder |
This builder for chaining. |
setTargetBillingAccountBytes(ByteString value)
public ResolveAmendmentTargetRequest.Builder setTargetBillingAccountBytes(ByteString value)Required. The customer's billing account targeted by the offer. This is the billing account for which the new private offer will be created on. Format: billingAccounts/{billing_account}.
string target_billing_account = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for targetBillingAccount to set. |
| Returns | |
|---|---|
| Type | Description |
ResolveAmendmentTargetRequest.Builder |
This builder for chaining. |