Class TriggerActionPayload.Builder (0.2.0)

public static final class TriggerActionPayload.Builder extends GeneratedMessageV3.Builder<TriggerActionPayload.Builder> implements TriggerActionPayloadOrBuilder

The payload for the triggered action.

Protobuf type google.shopping.merchant.issueresolution.v1beta.TriggerActionPayload

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TriggerActionPayload build()
Returns
Type Description
TriggerActionPayload

buildPartial()

public TriggerActionPayload buildPartial()
Returns
Type Description
TriggerActionPayload

clear()

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

clearActionContext()

public TriggerActionPayload.Builder clearActionContext()

Required. The context from the selected action. The value is obtained from rendered issues and needs to be sent back to identify the action that is being triggered.

string action_context = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TriggerActionPayload.Builder

This builder for chaining.

clearActionInput()

public TriggerActionPayload.Builder clearActionInput()

Required. Input provided by the business.

.google.shopping.merchant.issueresolution.v1beta.ActionInput action_input = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TriggerActionPayload.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getActionContext()

public String getActionContext()

Required. The context from the selected action. The value is obtained from rendered issues and needs to be sent back to identify the action that is being triggered.

string action_context = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The actionContext.

getActionContextBytes()

public ByteString getActionContextBytes()

Required. The context from the selected action. The value is obtained from rendered issues and needs to be sent back to identify the action that is being triggered.

string action_context = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for actionContext.

getActionInput()

public ActionInput getActionInput()

Required. Input provided by the business.

.google.shopping.merchant.issueresolution.v1beta.ActionInput action_input = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ActionInput

The actionInput.

getActionInputBuilder()

public ActionInput.Builder getActionInputBuilder()

Required. Input provided by the business.

.google.shopping.merchant.issueresolution.v1beta.ActionInput action_input = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ActionInput.Builder

getActionInputOrBuilder()

public ActionInputOrBuilder getActionInputOrBuilder()

Required. Input provided by the business.

.google.shopping.merchant.issueresolution.v1beta.ActionInput action_input = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ActionInputOrBuilder

getDefaultInstanceForType()

public TriggerActionPayload getDefaultInstanceForType()
Returns
Type Description
TriggerActionPayload

getDescriptorForType()

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

hasActionInput()

public boolean hasActionInput()

Required. Input provided by the business.

.google.shopping.merchant.issueresolution.v1beta.ActionInput action_input = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the actionInput field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeActionInput(ActionInput value)

public TriggerActionPayload.Builder mergeActionInput(ActionInput value)

Required. Input provided by the business.

.google.shopping.merchant.issueresolution.v1beta.ActionInput action_input = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ActionInput
Returns
Type Description
TriggerActionPayload.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(TriggerActionPayload other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setActionContext(String value)

public TriggerActionPayload.Builder setActionContext(String value)

Required. The context from the selected action. The value is obtained from rendered issues and needs to be sent back to identify the action that is being triggered.

string action_context = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The actionContext to set.

Returns
Type Description
TriggerActionPayload.Builder

This builder for chaining.

setActionContextBytes(ByteString value)

public TriggerActionPayload.Builder setActionContextBytes(ByteString value)

Required. The context from the selected action. The value is obtained from rendered issues and needs to be sent back to identify the action that is being triggered.

string action_context = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for actionContext to set.

Returns
Type Description
TriggerActionPayload.Builder

This builder for chaining.

setActionInput(ActionInput value)

public TriggerActionPayload.Builder setActionInput(ActionInput value)

Required. Input provided by the business.

.google.shopping.merchant.issueresolution.v1beta.ActionInput action_input = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ActionInput
Returns
Type Description
TriggerActionPayload.Builder

setActionInput(ActionInput.Builder builderForValue)

public TriggerActionPayload.Builder setActionInput(ActionInput.Builder builderForValue)

Required. Input provided by the business.

.google.shopping.merchant.issueresolution.v1beta.ActionInput action_input = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ActionInput.Builder
Returns
Type Description
TriggerActionPayload.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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