public static final class Action.Reason.Builder extends GeneratedMessage.Builder<Action.Reason.Builder> implements Action.ReasonOrBuilderA single reason why the action is not available.
Protobuf type google.shopping.merchant.issueresolution.v1beta.Action.Reason
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Action.Reason.BuilderImplements
Action.ReasonOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Action.Reason build()| Returns | |
|---|---|
| Type | Description |
Action.Reason |
|
buildPartial()
public Action.Reason buildPartial()| Returns | |
|---|---|
| Type | Description |
Action.Reason |
|
clear()
public Action.Reason.Builder clear()| Returns | |
|---|---|
| Type | Description |
Action.Reason.Builder |
|
clearAction()
public Action.Reason.Builder clearAction()Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message.
For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action.
optional .google.shopping.merchant.issueresolution.v1beta.Action action = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Action.Reason.Builder |
|
clearDetail()
public Action.Reason.Builder clearDetail()Detailed explanation of the reason. Should be displayed as a hint if present.
optional string detail = 2;
| Returns | |
|---|---|
| Type | Description |
Action.Reason.Builder |
This builder for chaining. |
clearMessage()
public Action.Reason.Builder clearMessage()Messages summarizing the reason, why the action is not available. For example: "Review requested on Jan 03. Review requests can take a few days to complete."
string message = 1;
| Returns | |
|---|---|
| Type | Description |
Action.Reason.Builder |
This builder for chaining. |
getAction()
public Action getAction()Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message.
For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action.
optional .google.shopping.merchant.issueresolution.v1beta.Action action = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Action |
The action. |
getActionBuilder()
public Action.Builder getActionBuilder()Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message.
For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action.
optional .google.shopping.merchant.issueresolution.v1beta.Action action = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Action.Builder |
|
getActionOrBuilder()
public ActionOrBuilder getActionOrBuilder()Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message.
For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action.
optional .google.shopping.merchant.issueresolution.v1beta.Action action = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ActionOrBuilder |
|
getDefaultInstanceForType()
public Action.Reason getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Action.Reason |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDetail()
public String getDetail()Detailed explanation of the reason. Should be displayed as a hint if present.
optional string detail = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The detail. |
getDetailBytes()
public ByteString getDetailBytes()Detailed explanation of the reason. Should be displayed as a hint if present.
optional string detail = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for detail. |
getMessage()
public String getMessage()Messages summarizing the reason, why the action is not available. For example: "Review requested on Jan 03. Review requests can take a few days to complete."
string message = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The message. |
getMessageBytes()
public ByteString getMessageBytes()Messages summarizing the reason, why the action is not available. For example: "Review requested on Jan 03. Review requests can take a few days to complete."
string message = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for message. |
hasAction()
public boolean hasAction()Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message.
For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action.
optional .google.shopping.merchant.issueresolution.v1beta.Action action = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the action field is set. |
hasDetail()
public boolean hasDetail()Detailed explanation of the reason. Should be displayed as a hint if present.
optional string detail = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the detail field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAction(Action value)
public Action.Reason.Builder mergeAction(Action value)Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message.
For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action.
optional .google.shopping.merchant.issueresolution.v1beta.Action action = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Action |
| Returns | |
|---|---|
| Type | Description |
Action.Reason.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Action.Reason.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Action.Reason.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Action.Reason.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Action.Reason.Builder |
|
mergeFrom(Action.Reason other)
public Action.Reason.Builder mergeFrom(Action.Reason other)| Parameter | |
|---|---|
| Name | Description |
other |
Action.Reason |
| Returns | |
|---|---|
| Type | Description |
Action.Reason.Builder |
|
setAction(Action value)
public Action.Reason.Builder setAction(Action value)Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message.
For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action.
optional .google.shopping.merchant.issueresolution.v1beta.Action action = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Action |
| Returns | |
|---|---|
| Type | Description |
Action.Reason.Builder |
|
setAction(Action.Builder builderForValue)
public Action.Reason.Builder setAction(Action.Builder builderForValue)Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message.
For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action.
optional .google.shopping.merchant.issueresolution.v1beta.Action action = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Action.Builder |
| Returns | |
|---|---|
| Type | Description |
Action.Reason.Builder |
|
setDetail(String value)
public Action.Reason.Builder setDetail(String value)Detailed explanation of the reason. Should be displayed as a hint if present.
optional string detail = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe detail to set. |
| Returns | |
|---|---|
| Type | Description |
Action.Reason.Builder |
This builder for chaining. |
setDetailBytes(ByteString value)
public Action.Reason.Builder setDetailBytes(ByteString value)Detailed explanation of the reason. Should be displayed as a hint if present.
optional string detail = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for detail to set. |
| Returns | |
|---|---|
| Type | Description |
Action.Reason.Builder |
This builder for chaining. |
setMessage(String value)
public Action.Reason.Builder setMessage(String value)Messages summarizing the reason, why the action is not available. For example: "Review requested on Jan 03. Review requests can take a few days to complete."
string message = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe message to set. |
| Returns | |
|---|---|
| Type | Description |
Action.Reason.Builder |
This builder for chaining. |
setMessageBytes(ByteString value)
public Action.Reason.Builder setMessageBytes(ByteString value)Messages summarizing the reason, why the action is not available. For example: "Review requested on Jan 03. Review requests can take a few days to complete."
string message = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
Action.Reason.Builder |
This builder for chaining. |