public static final class Action.Reason.Builder extends GeneratedMessageV3.Builder<Action.Reason.Builder> implements Action.ReasonOrBuilder
A single reason why the action is not available.
Protobuf type google.shopping.merchant.issueresolution.v1beta.Action.Reason
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Action.Reason.BuilderImplements
Action.ReasonOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Action.Reason.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Action.Reason.Builder |
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. |
clearField(Descriptors.FieldDescriptor field)
public Action.Reason.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Action.Reason.Builder |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Action.Reason.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Action.Reason.Builder |
clone()
public Action.Reason.Builder clone()
Returns | |
---|---|
Type | Description |
Action.Reason.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Action.Reason.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
String The 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 |
ByteString The bytes for detail to set. |
Returns | |
---|---|
Type | Description |
Action.Reason.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Action.Reason.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Action.Reason.Builder |
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 |
String The 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 |
ByteString The bytes for message to set. |
Returns | |
---|---|
Type | Description |
Action.Reason.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Action.Reason.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Action.Reason.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Action.Reason.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Action.Reason.Builder |