public static final class TriggerActionRequest.Builder extends GeneratedMessage.Builder<TriggerActionRequest.Builder> implements TriggerActionRequestOrBuilderRequest to start the selected action
Protobuf type google.shopping.merchant.issueresolution.v1beta.TriggerActionRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TriggerActionRequest.BuilderImplements
TriggerActionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public TriggerActionRequest build()| Returns | |
|---|---|
| Type | Description |
TriggerActionRequest |
|
buildPartial()
public TriggerActionRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
TriggerActionRequest |
|
clear()
public TriggerActionRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
TriggerActionRequest.Builder |
|
clearLanguageCode()
public TriggerActionRequest.Builder clearLanguageCode() Optional. Language code IETF BCP 47
syntax used to localize the response.
If not set, the result will be in default language en-US.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TriggerActionRequest.Builder |
This builder for chaining. |
clearName()
public TriggerActionRequest.Builder clearName() Required. The business's account that is triggering the action.
Format: accounts/{account}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
TriggerActionRequest.Builder |
This builder for chaining. |
clearPayload()
public TriggerActionRequest.Builder clearPayload()Required. The payload for the triggered action.
.google.shopping.merchant.issueresolution.v1beta.TriggerActionPayload payload = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TriggerActionRequest.Builder |
|
getDefaultInstanceForType()
public TriggerActionRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TriggerActionRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLanguageCode()
public String getLanguageCode() Optional. Language code IETF BCP 47
syntax used to localize the response.
If not set, the result will be in default language en-US.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The languageCode. |
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes() Optional. Language code IETF BCP 47
syntax used to localize the response.
If not set, the result will be in default language en-US.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for languageCode. |
getName()
public String getName() Required. The business's account that is triggering the action.
Format: accounts/{account}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. The business's account that is triggering the action.
Format: accounts/{account}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPayload()
public TriggerActionPayload getPayload()Required. The payload for the triggered action.
.google.shopping.merchant.issueresolution.v1beta.TriggerActionPayload payload = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TriggerActionPayload |
The payload. |
getPayloadBuilder()
public TriggerActionPayload.Builder getPayloadBuilder()Required. The payload for the triggered action.
.google.shopping.merchant.issueresolution.v1beta.TriggerActionPayload payload = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TriggerActionPayload.Builder |
|
getPayloadOrBuilder()
public TriggerActionPayloadOrBuilder getPayloadOrBuilder()Required. The payload for the triggered action.
.google.shopping.merchant.issueresolution.v1beta.TriggerActionPayload payload = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TriggerActionPayloadOrBuilder |
|
hasPayload()
public boolean hasPayload()Required. The payload for the triggered action.
.google.shopping.merchant.issueresolution.v1beta.TriggerActionPayload payload = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the payload field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TriggerActionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TriggerActionRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TriggerActionRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TriggerActionRequest.Builder |
|
mergeFrom(TriggerActionRequest other)
public TriggerActionRequest.Builder mergeFrom(TriggerActionRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
TriggerActionRequest |
| Returns | |
|---|---|
| Type | Description |
TriggerActionRequest.Builder |
|
mergePayload(TriggerActionPayload value)
public TriggerActionRequest.Builder mergePayload(TriggerActionPayload value)Required. The payload for the triggered action.
.google.shopping.merchant.issueresolution.v1beta.TriggerActionPayload payload = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
TriggerActionPayload |
| Returns | |
|---|---|
| Type | Description |
TriggerActionRequest.Builder |
|
setLanguageCode(String value)
public TriggerActionRequest.Builder setLanguageCode(String value) Optional. Language code IETF BCP 47
syntax used to localize the response.
If not set, the result will be in default language en-US.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe languageCode to set. |
| Returns | |
|---|---|
| Type | Description |
TriggerActionRequest.Builder |
This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public TriggerActionRequest.Builder setLanguageCodeBytes(ByteString value) Optional. Language code IETF BCP 47
syntax used to localize the response.
If not set, the result will be in default language en-US.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for languageCode to set. |
| Returns | |
|---|---|
| Type | Description |
TriggerActionRequest.Builder |
This builder for chaining. |
setName(String value)
public TriggerActionRequest.Builder setName(String value) Required. The business's account that is triggering the action.
Format: accounts/{account}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
TriggerActionRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public TriggerActionRequest.Builder setNameBytes(ByteString value) Required. The business's account that is triggering the action.
Format: accounts/{account}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
TriggerActionRequest.Builder |
This builder for chaining. |
setPayload(TriggerActionPayload value)
public TriggerActionRequest.Builder setPayload(TriggerActionPayload value)Required. The payload for the triggered action.
.google.shopping.merchant.issueresolution.v1beta.TriggerActionPayload payload = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
TriggerActionPayload |
| Returns | |
|---|---|
| Type | Description |
TriggerActionRequest.Builder |
|
setPayload(TriggerActionPayload.Builder builderForValue)
public TriggerActionRequest.Builder setPayload(TriggerActionPayload.Builder builderForValue)Required. The payload for the triggered action.
.google.shopping.merchant.issueresolution.v1beta.TriggerActionPayload payload = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TriggerActionPayload.Builder |
| Returns | |
|---|---|
| Type | Description |
TriggerActionRequest.Builder |
|