public static final class Action.Builder extends GeneratedMessageV3.Builder<Action.Builder> implements ActionOrBuilder
An actionable step that can be executed to solve the issue.
Protobuf type google.shopping.merchant.issueresolution.v1beta.Action
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Action.BuilderImplements
ActionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllReasons(Iterable<? extends Action.Reason> values)
public Action.Builder addAllReasons(Iterable<? extends Action.Reason> values)
List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.shopping.merchant.issueresolution.v1beta.Action.Reason> |
Returns | |
---|---|
Type | Description |
Action.Builder |
addReasons(Action.Reason value)
public Action.Builder addReasons(Action.Reason value)
List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;
Parameter | |
---|---|
Name | Description |
value |
Action.Reason |
Returns | |
---|---|
Type | Description |
Action.Builder |
addReasons(Action.Reason.Builder builderForValue)
public Action.Builder addReasons(Action.Reason.Builder builderForValue)
List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
Action.Reason.Builder |
Returns | |
---|---|
Type | Description |
Action.Builder |
addReasons(int index, Action.Reason value)
public Action.Builder addReasons(int index, Action.Reason value)
List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Action.Reason |
Returns | |
---|---|
Type | Description |
Action.Builder |
addReasons(int index, Action.Reason.Builder builderForValue)
public Action.Builder addReasons(int index, Action.Reason.Builder builderForValue)
List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Action.Reason.Builder |
Returns | |
---|---|
Type | Description |
Action.Builder |
addReasonsBuilder()
public Action.Reason.Builder addReasonsBuilder()
List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;
Returns | |
---|---|
Type | Description |
Action.Reason.Builder |
addReasonsBuilder(int index)
public Action.Reason.Builder addReasonsBuilder(int index)
List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Action.Reason.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Action.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Action.Builder |
build()
public Action build()
Returns | |
---|---|
Type | Description |
Action |
buildPartial()
public Action buildPartial()
Returns | |
---|---|
Type | Description |
Action |
clear()
public Action.Builder clear()
Returns | |
---|---|
Type | Description |
Action.Builder |
clearAction()
public Action.Builder clearAction()
Returns | |
---|---|
Type | Description |
Action.Builder |
clearBuiltinSimpleAction()
public Action.Builder clearBuiltinSimpleAction()
Action implemented and performed in (your) third-party application. The application should point the business to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available.
.google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction builtin_simple_action = 2;
Returns | |
---|---|
Type | Description |
Action.Builder |
clearBuiltinUserInputAction()
public Action.Builder clearBuiltinUserInputAction()
Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business as specified for given action. They can trigger the action only when they provided all required inputs.
.google.shopping.merchant.issueresolution.v1beta.BuiltInUserInputAction builtin_user_input_action = 7;
Returns | |
---|---|
Type | Description |
Action.Builder |
clearButtonLabel()
public Action.Builder clearButtonLabel()
Label of the action button.
string button_label = 4;
Returns | |
---|---|
Type | Description |
Action.Builder |
This builder for chaining. |
clearExternalAction()
public Action.Builder clearExternalAction()
Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the business to the external location where they can perform the action.
.google.shopping.merchant.issueresolution.v1beta.ExternalAction external_action = 3;
Returns | |
---|---|
Type | Description |
Action.Builder |
clearField(Descriptors.FieldDescriptor field)
public Action.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Action.Builder |
clearIsAvailable()
public Action.Builder clearIsAvailable()
Controlling whether the button is active or disabled. The value is 'false' when the action was already requested or is not available. If the action is not available then a reason will be present. If (your) third-party application shows a disabled button for action that is not available, then it should also show reasons.
bool is_available = 5;
Returns | |
---|---|
Type | Description |
Action.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Action.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Action.Builder |
clearReasons()
public Action.Builder clearReasons()
List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;
Returns | |
---|---|
Type | Description |
Action.Builder |
clone()
public Action.Builder clone()
Returns | |
---|---|
Type | Description |
Action.Builder |
getActionCase()
public Action.ActionCase getActionCase()
Returns | |
---|---|
Type | Description |
Action.ActionCase |
getBuiltinSimpleAction()
public BuiltInSimpleAction getBuiltinSimpleAction()
Action implemented and performed in (your) third-party application. The application should point the business to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available.
.google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction builtin_simple_action = 2;
Returns | |
---|---|
Type | Description |
BuiltInSimpleAction |
The builtinSimpleAction. |
getBuiltinSimpleActionBuilder()
public BuiltInSimpleAction.Builder getBuiltinSimpleActionBuilder()
Action implemented and performed in (your) third-party application. The application should point the business to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available.
.google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction builtin_simple_action = 2;
Returns | |
---|---|
Type | Description |
BuiltInSimpleAction.Builder |
getBuiltinSimpleActionOrBuilder()
public BuiltInSimpleActionOrBuilder getBuiltinSimpleActionOrBuilder()
Action implemented and performed in (your) third-party application. The application should point the business to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available.
.google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction builtin_simple_action = 2;
Returns | |
---|---|
Type | Description |
BuiltInSimpleActionOrBuilder |
getBuiltinUserInputAction()
public BuiltInUserInputAction getBuiltinUserInputAction()
Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business as specified for given action. They can trigger the action only when they provided all required inputs.
.google.shopping.merchant.issueresolution.v1beta.BuiltInUserInputAction builtin_user_input_action = 7;
Returns | |
---|---|
Type | Description |
BuiltInUserInputAction |
The builtinUserInputAction. |
getBuiltinUserInputActionBuilder()
public BuiltInUserInputAction.Builder getBuiltinUserInputActionBuilder()
Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business as specified for given action. They can trigger the action only when they provided all required inputs.
.google.shopping.merchant.issueresolution.v1beta.BuiltInUserInputAction builtin_user_input_action = 7;
Returns | |
---|---|
Type | Description |
BuiltInUserInputAction.Builder |
getBuiltinUserInputActionOrBuilder()
public BuiltInUserInputActionOrBuilder getBuiltinUserInputActionOrBuilder()
Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business as specified for given action. They can trigger the action only when they provided all required inputs.
.google.shopping.merchant.issueresolution.v1beta.BuiltInUserInputAction builtin_user_input_action = 7;
Returns | |
---|---|
Type | Description |
BuiltInUserInputActionOrBuilder |
getButtonLabel()
public String getButtonLabel()
Label of the action button.
string button_label = 4;
Returns | |
---|---|
Type | Description |
String |
The buttonLabel. |
getButtonLabelBytes()
public ByteString getButtonLabelBytes()
Label of the action button.
string button_label = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for buttonLabel. |
getDefaultInstanceForType()
public Action getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Action |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExternalAction()
public ExternalAction getExternalAction()
Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the business to the external location where they can perform the action.
.google.shopping.merchant.issueresolution.v1beta.ExternalAction external_action = 3;
Returns | |
---|---|
Type | Description |
ExternalAction |
The externalAction. |
getExternalActionBuilder()
public ExternalAction.Builder getExternalActionBuilder()
Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the business to the external location where they can perform the action.
.google.shopping.merchant.issueresolution.v1beta.ExternalAction external_action = 3;
Returns | |
---|---|
Type | Description |
ExternalAction.Builder |
getExternalActionOrBuilder()
public ExternalActionOrBuilder getExternalActionOrBuilder()
Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the business to the external location where they can perform the action.
.google.shopping.merchant.issueresolution.v1beta.ExternalAction external_action = 3;
Returns | |
---|---|
Type | Description |
ExternalActionOrBuilder |
getIsAvailable()
public boolean getIsAvailable()
Controlling whether the button is active or disabled. The value is 'false' when the action was already requested or is not available. If the action is not available then a reason will be present. If (your) third-party application shows a disabled button for action that is not available, then it should also show reasons.
bool is_available = 5;
Returns | |
---|---|
Type | Description |
boolean |
The isAvailable. |
getReasons(int index)
public Action.Reason getReasons(int index)
List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Action.Reason |
getReasonsBuilder(int index)
public Action.Reason.Builder getReasonsBuilder(int index)
List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Action.Reason.Builder |
getReasonsBuilderList()
public List<Action.Reason.Builder> getReasonsBuilderList()
List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;
Returns | |
---|---|
Type | Description |
List<Builder> |
getReasonsCount()
public int getReasonsCount()
List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;
Returns | |
---|---|
Type | Description |
int |
getReasonsList()
public List<Action.Reason> getReasonsList()
List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;
Returns | |
---|---|
Type | Description |
List<Reason> |
getReasonsOrBuilder(int index)
public Action.ReasonOrBuilder getReasonsOrBuilder(int index)
List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Action.ReasonOrBuilder |
getReasonsOrBuilderList()
public List<? extends Action.ReasonOrBuilder> getReasonsOrBuilderList()
List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;
Returns | |
---|---|
Type | Description |
List<? extends com.google.shopping.merchant.issueresolution.v1beta.Action.ReasonOrBuilder> |
hasBuiltinSimpleAction()
public boolean hasBuiltinSimpleAction()
Action implemented and performed in (your) third-party application. The application should point the business to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available.
.google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction builtin_simple_action = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the builtinSimpleAction field is set. |
hasBuiltinUserInputAction()
public boolean hasBuiltinUserInputAction()
Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business as specified for given action. They can trigger the action only when they provided all required inputs.
.google.shopping.merchant.issueresolution.v1beta.BuiltInUserInputAction builtin_user_input_action = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the builtinUserInputAction field is set. |
hasExternalAction()
public boolean hasExternalAction()
Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the business to the external location where they can perform the action.
.google.shopping.merchant.issueresolution.v1beta.ExternalAction external_action = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the externalAction field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeBuiltinSimpleAction(BuiltInSimpleAction value)
public Action.Builder mergeBuiltinSimpleAction(BuiltInSimpleAction value)
Action implemented and performed in (your) third-party application. The application should point the business to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available.
.google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction builtin_simple_action = 2;
Parameter | |
---|---|
Name | Description |
value |
BuiltInSimpleAction |
Returns | |
---|---|
Type | Description |
Action.Builder |
mergeBuiltinUserInputAction(BuiltInUserInputAction value)
public Action.Builder mergeBuiltinUserInputAction(BuiltInUserInputAction value)
Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business as specified for given action. They can trigger the action only when they provided all required inputs.
.google.shopping.merchant.issueresolution.v1beta.BuiltInUserInputAction builtin_user_input_action = 7;
Parameter | |
---|---|
Name | Description |
value |
BuiltInUserInputAction |
Returns | |
---|---|
Type | Description |
Action.Builder |
mergeExternalAction(ExternalAction value)
public Action.Builder mergeExternalAction(ExternalAction value)
Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the business to the external location where they can perform the action.
.google.shopping.merchant.issueresolution.v1beta.ExternalAction external_action = 3;
Parameter | |
---|---|
Name | Description |
value |
ExternalAction |
Returns | |
---|---|
Type | Description |
Action.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Action.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Action.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Action.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Action.Builder |
mergeFrom(Action other)
public Action.Builder mergeFrom(Action other)
Parameter | |
---|---|
Name | Description |
other |
Action |
Returns | |
---|---|
Type | Description |
Action.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Action.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Action.Builder |
removeReasons(int index)
public Action.Builder removeReasons(int index)
List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Action.Builder |
setBuiltinSimpleAction(BuiltInSimpleAction value)
public Action.Builder setBuiltinSimpleAction(BuiltInSimpleAction value)
Action implemented and performed in (your) third-party application. The application should point the business to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available.
.google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction builtin_simple_action = 2;
Parameter | |
---|---|
Name | Description |
value |
BuiltInSimpleAction |
Returns | |
---|---|
Type | Description |
Action.Builder |
setBuiltinSimpleAction(BuiltInSimpleAction.Builder builderForValue)
public Action.Builder setBuiltinSimpleAction(BuiltInSimpleAction.Builder builderForValue)
Action implemented and performed in (your) third-party application. The application should point the business to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available.
.google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction builtin_simple_action = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
BuiltInSimpleAction.Builder |
Returns | |
---|---|
Type | Description |
Action.Builder |
setBuiltinUserInputAction(BuiltInUserInputAction value)
public Action.Builder setBuiltinUserInputAction(BuiltInUserInputAction value)
Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business as specified for given action. They can trigger the action only when they provided all required inputs.
.google.shopping.merchant.issueresolution.v1beta.BuiltInUserInputAction builtin_user_input_action = 7;
Parameter | |
---|---|
Name | Description |
value |
BuiltInUserInputAction |
Returns | |
---|---|
Type | Description |
Action.Builder |
setBuiltinUserInputAction(BuiltInUserInputAction.Builder builderForValue)
public Action.Builder setBuiltinUserInputAction(BuiltInUserInputAction.Builder builderForValue)
Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business as specified for given action. They can trigger the action only when they provided all required inputs.
.google.shopping.merchant.issueresolution.v1beta.BuiltInUserInputAction builtin_user_input_action = 7;
Parameter | |
---|---|
Name | Description |
builderForValue |
BuiltInUserInputAction.Builder |
Returns | |
---|---|
Type | Description |
Action.Builder |
setButtonLabel(String value)
public Action.Builder setButtonLabel(String value)
Label of the action button.
string button_label = 4;
Parameter | |
---|---|
Name | Description |
value |
String The buttonLabel to set. |
Returns | |
---|---|
Type | Description |
Action.Builder |
This builder for chaining. |
setButtonLabelBytes(ByteString value)
public Action.Builder setButtonLabelBytes(ByteString value)
Label of the action button.
string button_label = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for buttonLabel to set. |
Returns | |
---|---|
Type | Description |
Action.Builder |
This builder for chaining. |
setExternalAction(ExternalAction value)
public Action.Builder setExternalAction(ExternalAction value)
Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the business to the external location where they can perform the action.
.google.shopping.merchant.issueresolution.v1beta.ExternalAction external_action = 3;
Parameter | |
---|---|
Name | Description |
value |
ExternalAction |
Returns | |
---|---|
Type | Description |
Action.Builder |
setExternalAction(ExternalAction.Builder builderForValue)
public Action.Builder setExternalAction(ExternalAction.Builder builderForValue)
Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the business to the external location where they can perform the action.
.google.shopping.merchant.issueresolution.v1beta.ExternalAction external_action = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
ExternalAction.Builder |
Returns | |
---|---|
Type | Description |
Action.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Action.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Action.Builder |
setIsAvailable(boolean value)
public Action.Builder setIsAvailable(boolean value)
Controlling whether the button is active or disabled. The value is 'false' when the action was already requested or is not available. If the action is not available then a reason will be present. If (your) third-party application shows a disabled button for action that is not available, then it should also show reasons.
bool is_available = 5;
Parameter | |
---|---|
Name | Description |
value |
boolean The isAvailable to set. |
Returns | |
---|---|
Type | Description |
Action.Builder |
This builder for chaining. |
setReasons(int index, Action.Reason value)
public Action.Builder setReasons(int index, Action.Reason value)
List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Action.Reason |
Returns | |
---|---|
Type | Description |
Action.Builder |
setReasons(int index, Action.Reason.Builder builderForValue)
public Action.Builder setReasons(int index, Action.Reason.Builder builderForValue)
List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.
repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Action.Reason.Builder |
Returns | |
---|---|
Type | Description |
Action.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Action.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Action.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Action.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Action.Builder |