Class RenderIssuesRequestPayload.Builder (1.11.0)

public static final class RenderIssuesRequestPayload.Builder extends GeneratedMessage.Builder<RenderIssuesRequestPayload.Builder> implements RenderIssuesRequestPayloadOrBuilder

The payload for configuring how the content should be rendered.

Protobuf type google.shopping.merchant.issueresolution.v1.RenderIssuesRequestPayload

Static Methods

getDescriptor()

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

Methods

build()

public RenderIssuesRequestPayload build()
Returns
Type Description
RenderIssuesRequestPayload

buildPartial()

public RenderIssuesRequestPayload buildPartial()
Returns
Type Description
RenderIssuesRequestPayload

clear()

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

clearContentOption()

public RenderIssuesRequestPayload.Builder clearContentOption()

Optional. How the detailed content should be returned. Default option is to return the content as a pre-rendered HTML text.

optional .google.shopping.merchant.issueresolution.v1.ContentOption content_option = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RenderIssuesRequestPayload.Builder

This builder for chaining.

clearUserInputActionOption()

public RenderIssuesRequestPayload.Builder clearUserInputActionOption()

Optional. How actions with user input form should be handled. If not provided, actions will be returned as links that points the business to Merchant Center where they can request the action.

optional .google.shopping.merchant.issueresolution.v1.UserInputActionRenderingOption user_input_action_option = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RenderIssuesRequestPayload.Builder

This builder for chaining.

getContentOption()

public ContentOption getContentOption()

Optional. How the detailed content should be returned. Default option is to return the content as a pre-rendered HTML text.

optional .google.shopping.merchant.issueresolution.v1.ContentOption content_option = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ContentOption

The contentOption.

getContentOptionValue()

public int getContentOptionValue()

Optional. How the detailed content should be returned. Default option is to return the content as a pre-rendered HTML text.

optional .google.shopping.merchant.issueresolution.v1.ContentOption content_option = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for contentOption.

getDefaultInstanceForType()

public RenderIssuesRequestPayload getDefaultInstanceForType()
Returns
Type Description
RenderIssuesRequestPayload

getDescriptorForType()

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

getUserInputActionOption()

public UserInputActionRenderingOption getUserInputActionOption()

Optional. How actions with user input form should be handled. If not provided, actions will be returned as links that points the business to Merchant Center where they can request the action.

optional .google.shopping.merchant.issueresolution.v1.UserInputActionRenderingOption user_input_action_option = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UserInputActionRenderingOption

The userInputActionOption.

getUserInputActionOptionValue()

public int getUserInputActionOptionValue()

Optional. How actions with user input form should be handled. If not provided, actions will be returned as links that points the business to Merchant Center where they can request the action.

optional .google.shopping.merchant.issueresolution.v1.UserInputActionRenderingOption user_input_action_option = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for userInputActionOption.

hasContentOption()

public boolean hasContentOption()

Optional. How the detailed content should be returned. Default option is to return the content as a pre-rendered HTML text.

optional .google.shopping.merchant.issueresolution.v1.ContentOption content_option = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the contentOption field is set.

hasUserInputActionOption()

public boolean hasUserInputActionOption()

Optional. How actions with user input form should be handled. If not provided, actions will be returned as links that points the business to Merchant Center where they can request the action.

optional .google.shopping.merchant.issueresolution.v1.UserInputActionRenderingOption user_input_action_option = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the userInputActionOption field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(RenderIssuesRequestPayload other)

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

setContentOption(ContentOption value)

public RenderIssuesRequestPayload.Builder setContentOption(ContentOption value)

Optional. How the detailed content should be returned. Default option is to return the content as a pre-rendered HTML text.

optional .google.shopping.merchant.issueresolution.v1.ContentOption content_option = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ContentOption

The contentOption to set.

Returns
Type Description
RenderIssuesRequestPayload.Builder

This builder for chaining.

setContentOptionValue(int value)

public RenderIssuesRequestPayload.Builder setContentOptionValue(int value)

Optional. How the detailed content should be returned. Default option is to return the content as a pre-rendered HTML text.

optional .google.shopping.merchant.issueresolution.v1.ContentOption content_option = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for contentOption to set.

Returns
Type Description
RenderIssuesRequestPayload.Builder

This builder for chaining.

setUserInputActionOption(UserInputActionRenderingOption value)

public RenderIssuesRequestPayload.Builder setUserInputActionOption(UserInputActionRenderingOption value)

Optional. How actions with user input form should be handled. If not provided, actions will be returned as links that points the business to Merchant Center where they can request the action.

optional .google.shopping.merchant.issueresolution.v1.UserInputActionRenderingOption user_input_action_option = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value UserInputActionRenderingOption

The userInputActionOption to set.

Returns
Type Description
RenderIssuesRequestPayload.Builder

This builder for chaining.

setUserInputActionOptionValue(int value)

public RenderIssuesRequestPayload.Builder setUserInputActionOptionValue(int value)

Optional. How actions with user input form should be handled. If not provided, actions will be returned as links that points the business to Merchant Center where they can request the action.

optional .google.shopping.merchant.issueresolution.v1.UserInputActionRenderingOption user_input_action_option = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for userInputActionOption to set.

Returns
Type Description
RenderIssuesRequestPayload.Builder

This builder for chaining.