public static final class Action.Reason extends GeneratedMessage implements Action.ReasonOrBuilder
A single reason why the action is not available.
Protobuf type google.shopping.merchant.issueresolution.v1beta.Action.Reason
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int ACTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int DETAIL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int MESSAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static Action.Reason getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Action.Reason.Builder newBuilder()
public static Action.Reason.Builder newBuilder(Action.Reason prototype)
public static Action.Reason parseDelimitedFrom(InputStream input)
public static Action.Reason parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Action.Reason parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static Action.Reason parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Action.Reason parseFrom(ByteString data)
public static Action.Reason parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Action.Reason parseFrom(CodedInputStream input)
public static Action.Reason parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Action.Reason parseFrom(InputStream input)
public static Action.Reason parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Action.Reason parseFrom(ByteBuffer data)
public static Action.Reason parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Action.Reason> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
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.
|
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];
public Action.Reason getDefaultInstanceForType()
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.
|
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.
|
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.
|
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.
|
public Parser<Action.Reason> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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.
|
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.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Action.Reason.Builder newBuilderForType()
protected Action.Reason.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public Action.Reason.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides