Class BuiltInSimpleAction.Builder (0.2.0)

public static final class BuiltInSimpleAction.Builder extends GeneratedMessageV3.Builder<BuiltInSimpleAction.Builder> implements BuiltInSimpleActionOrBuilder

Action that is implemented and performed in (your) third-party application. Represents various functionality that is expected to be available to business and will help them with resolving the issue. The application should point the business to the place, where they can access the corresponding functionality. If the functionality is not supported, it is recommended to explain the situation to the business and provide them with instructions how to solve the issue.

Protobuf type google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BuiltInSimpleAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BuiltInSimpleAction.Builder
Overrides

build()

public BuiltInSimpleAction build()
Returns
Type Description
BuiltInSimpleAction

buildPartial()

public BuiltInSimpleAction buildPartial()
Returns
Type Description
BuiltInSimpleAction

clear()

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

clearAdditionalContent()

public BuiltInSimpleAction.Builder clearAdditionalContent()

Long text from an external source that should be available to the business. Present when the type is SHOW_ADDITIONAL_CONTENT.

optional .google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.AdditionalContent additional_content = 3;

Returns
Type Description
BuiltInSimpleAction.Builder

clearAttributeCode()

public BuiltInSimpleAction.Builder clearAttributeCode()

The attribute that needs to be updated. Present when the type is EDIT_ITEM_ATTRIBUTE.

This field contains a code for attribute, represented in snake_case. You can find a list of product's attributes, with their codes here.

optional string attribute_code = 2;

Returns
Type Description
BuiltInSimpleAction.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BuiltInSimpleAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BuiltInSimpleAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BuiltInSimpleAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BuiltInSimpleAction.Builder
Overrides

clearType()

public BuiltInSimpleAction.Builder clearType()

The type of action that represents a functionality that is expected to be available in third-party application.

.google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.BuiltInSimpleActionType type = 1;

Returns
Type Description
BuiltInSimpleAction.Builder

This builder for chaining.

clone()

public BuiltInSimpleAction.Builder clone()
Returns
Type Description
BuiltInSimpleAction.Builder
Overrides

getAdditionalContent()

public BuiltInSimpleAction.AdditionalContent getAdditionalContent()

Long text from an external source that should be available to the business. Present when the type is SHOW_ADDITIONAL_CONTENT.

optional .google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.AdditionalContent additional_content = 3;

Returns
Type Description
BuiltInSimpleAction.AdditionalContent

The additionalContent.

getAdditionalContentBuilder()

public BuiltInSimpleAction.AdditionalContent.Builder getAdditionalContentBuilder()

Long text from an external source that should be available to the business. Present when the type is SHOW_ADDITIONAL_CONTENT.

optional .google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.AdditionalContent additional_content = 3;

Returns
Type Description
BuiltInSimpleAction.AdditionalContent.Builder

getAdditionalContentOrBuilder()

public BuiltInSimpleAction.AdditionalContentOrBuilder getAdditionalContentOrBuilder()

Long text from an external source that should be available to the business. Present when the type is SHOW_ADDITIONAL_CONTENT.

optional .google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.AdditionalContent additional_content = 3;

Returns
Type Description
BuiltInSimpleAction.AdditionalContentOrBuilder

getAttributeCode()

public String getAttributeCode()

The attribute that needs to be updated. Present when the type is EDIT_ITEM_ATTRIBUTE.

This field contains a code for attribute, represented in snake_case. You can find a list of product's attributes, with their codes here.

optional string attribute_code = 2;

Returns
Type Description
String

The attributeCode.

getAttributeCodeBytes()

public ByteString getAttributeCodeBytes()

The attribute that needs to be updated. Present when the type is EDIT_ITEM_ATTRIBUTE.

This field contains a code for attribute, represented in snake_case. You can find a list of product's attributes, with their codes here.

optional string attribute_code = 2;

Returns
Type Description
ByteString

The bytes for attributeCode.

getDefaultInstanceForType()

public BuiltInSimpleAction getDefaultInstanceForType()
Returns
Type Description
BuiltInSimpleAction

getDescriptorForType()

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

getType()

public BuiltInSimpleAction.BuiltInSimpleActionType getType()

The type of action that represents a functionality that is expected to be available in third-party application.

.google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.BuiltInSimpleActionType type = 1;

Returns
Type Description
BuiltInSimpleAction.BuiltInSimpleActionType

The type.

getTypeValue()

public int getTypeValue()

The type of action that represents a functionality that is expected to be available in third-party application.

.google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.BuiltInSimpleActionType type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasAdditionalContent()

public boolean hasAdditionalContent()

Long text from an external source that should be available to the business. Present when the type is SHOW_ADDITIONAL_CONTENT.

optional .google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.AdditionalContent additional_content = 3;

Returns
Type Description
boolean

Whether the additionalContent field is set.

hasAttributeCode()

public boolean hasAttributeCode()

The attribute that needs to be updated. Present when the type is EDIT_ITEM_ATTRIBUTE.

This field contains a code for attribute, represented in snake_case. You can find a list of product's attributes, with their codes here.

optional string attribute_code = 2;

Returns
Type Description
boolean

Whether the attributeCode field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAdditionalContent(BuiltInSimpleAction.AdditionalContent value)

public BuiltInSimpleAction.Builder mergeAdditionalContent(BuiltInSimpleAction.AdditionalContent value)

Long text from an external source that should be available to the business. Present when the type is SHOW_ADDITIONAL_CONTENT.

optional .google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.AdditionalContent additional_content = 3;

Parameter
Name Description
value BuiltInSimpleAction.AdditionalContent
Returns
Type Description
BuiltInSimpleAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(BuiltInSimpleAction other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BuiltInSimpleAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BuiltInSimpleAction.Builder
Overrides

setAdditionalContent(BuiltInSimpleAction.AdditionalContent value)

public BuiltInSimpleAction.Builder setAdditionalContent(BuiltInSimpleAction.AdditionalContent value)

Long text from an external source that should be available to the business. Present when the type is SHOW_ADDITIONAL_CONTENT.

optional .google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.AdditionalContent additional_content = 3;

Parameter
Name Description
value BuiltInSimpleAction.AdditionalContent
Returns
Type Description
BuiltInSimpleAction.Builder

setAdditionalContent(BuiltInSimpleAction.AdditionalContent.Builder builderForValue)

public BuiltInSimpleAction.Builder setAdditionalContent(BuiltInSimpleAction.AdditionalContent.Builder builderForValue)

Long text from an external source that should be available to the business. Present when the type is SHOW_ADDITIONAL_CONTENT.

optional .google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.AdditionalContent additional_content = 3;

Parameter
Name Description
builderForValue BuiltInSimpleAction.AdditionalContent.Builder
Returns
Type Description
BuiltInSimpleAction.Builder

setAttributeCode(String value)

public BuiltInSimpleAction.Builder setAttributeCode(String value)

The attribute that needs to be updated. Present when the type is EDIT_ITEM_ATTRIBUTE.

This field contains a code for attribute, represented in snake_case. You can find a list of product's attributes, with their codes here.

optional string attribute_code = 2;

Parameter
Name Description
value String

The attributeCode to set.

Returns
Type Description
BuiltInSimpleAction.Builder

This builder for chaining.

setAttributeCodeBytes(ByteString value)

public BuiltInSimpleAction.Builder setAttributeCodeBytes(ByteString value)

The attribute that needs to be updated. Present when the type is EDIT_ITEM_ATTRIBUTE.

This field contains a code for attribute, represented in snake_case. You can find a list of product's attributes, with their codes here.

optional string attribute_code = 2;

Parameter
Name Description
value ByteString

The bytes for attributeCode to set.

Returns
Type Description
BuiltInSimpleAction.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BuiltInSimpleAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BuiltInSimpleAction.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BuiltInSimpleAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BuiltInSimpleAction.Builder
Overrides

setType(BuiltInSimpleAction.BuiltInSimpleActionType value)

public BuiltInSimpleAction.Builder setType(BuiltInSimpleAction.BuiltInSimpleActionType value)

The type of action that represents a functionality that is expected to be available in third-party application.

.google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.BuiltInSimpleActionType type = 1;

Parameter
Name Description
value BuiltInSimpleAction.BuiltInSimpleActionType

The type to set.

Returns
Type Description
BuiltInSimpleAction.Builder

This builder for chaining.

setTypeValue(int value)

public BuiltInSimpleAction.Builder setTypeValue(int value)

The type of action that represents a functionality that is expected to be available in third-party application.

.google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.BuiltInSimpleActionType type = 1;

Parameter
Name Description
value int

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

Returns
Type Description
BuiltInSimpleAction.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final BuiltInSimpleAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BuiltInSimpleAction.Builder
Overrides