Class Impact.Builder (0.2.0)

public static final class Impact.Builder extends GeneratedMessageV3.Builder<Impact.Builder> implements ImpactOrBuilder

Overall impact of the issue.

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

Implements

ImpactOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllBreakdowns(Iterable<? extends Breakdown> values)

public Impact.Builder addAllBreakdowns(Iterable<? extends Breakdown> values)

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.

repeated .google.shopping.merchant.issueresolution.v1beta.Breakdown breakdowns = 3;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.issueresolution.v1beta.Breakdown>
Returns
Type Description
Impact.Builder

addBreakdowns(Breakdown value)

public Impact.Builder addBreakdowns(Breakdown value)

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.

repeated .google.shopping.merchant.issueresolution.v1beta.Breakdown breakdowns = 3;

Parameter
Name Description
value Breakdown
Returns
Type Description
Impact.Builder

addBreakdowns(Breakdown.Builder builderForValue)

public Impact.Builder addBreakdowns(Breakdown.Builder builderForValue)

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.

repeated .google.shopping.merchant.issueresolution.v1beta.Breakdown breakdowns = 3;

Parameter
Name Description
builderForValue Breakdown.Builder
Returns
Type Description
Impact.Builder

addBreakdowns(int index, Breakdown value)

public Impact.Builder addBreakdowns(int index, Breakdown value)

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.

repeated .google.shopping.merchant.issueresolution.v1beta.Breakdown breakdowns = 3;

Parameters
Name Description
index int
value Breakdown
Returns
Type Description
Impact.Builder

addBreakdowns(int index, Breakdown.Builder builderForValue)

public Impact.Builder addBreakdowns(int index, Breakdown.Builder builderForValue)

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.

repeated .google.shopping.merchant.issueresolution.v1beta.Breakdown breakdowns = 3;

Parameters
Name Description
index int
builderForValue Breakdown.Builder
Returns
Type Description
Impact.Builder

addBreakdownsBuilder()

public Breakdown.Builder addBreakdownsBuilder()

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.

repeated .google.shopping.merchant.issueresolution.v1beta.Breakdown breakdowns = 3;

Returns
Type Description
Breakdown.Builder

addBreakdownsBuilder(int index)

public Breakdown.Builder addBreakdownsBuilder(int index)

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.

repeated .google.shopping.merchant.issueresolution.v1beta.Breakdown breakdowns = 3;

Parameter
Name Description
index int
Returns
Type Description
Breakdown.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Impact build()
Returns
Type Description
Impact

buildPartial()

public Impact buildPartial()
Returns
Type Description
Impact

clear()

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

clearBreakdowns()

public Impact.Builder clearBreakdowns()

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.

repeated .google.shopping.merchant.issueresolution.v1beta.Breakdown breakdowns = 3;

Returns
Type Description
Impact.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearMessage()

public Impact.Builder clearMessage()

Optional. Message summarizing the overall impact of the issue. If present, it should be rendered to the business. For example: "Disapproves 90k offers in 25 countries"

string message = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Impact.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSeverity()

public Impact.Builder clearSeverity()

The severity of the issue.

.google.shopping.merchant.issueresolution.v1beta.Severity severity = 2;

Returns
Type Description
Impact.Builder

This builder for chaining.

clone()

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

getBreakdowns(int index)

public Breakdown getBreakdowns(int index)

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.

repeated .google.shopping.merchant.issueresolution.v1beta.Breakdown breakdowns = 3;

Parameter
Name Description
index int
Returns
Type Description
Breakdown

getBreakdownsBuilder(int index)

public Breakdown.Builder getBreakdownsBuilder(int index)

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.

repeated .google.shopping.merchant.issueresolution.v1beta.Breakdown breakdowns = 3;

Parameter
Name Description
index int
Returns
Type Description
Breakdown.Builder

getBreakdownsBuilderList()

public List<Breakdown.Builder> getBreakdownsBuilderList()

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.

repeated .google.shopping.merchant.issueresolution.v1beta.Breakdown breakdowns = 3;

Returns
Type Description
List<Builder>

getBreakdownsCount()

public int getBreakdownsCount()

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.

repeated .google.shopping.merchant.issueresolution.v1beta.Breakdown breakdowns = 3;

Returns
Type Description
int

getBreakdownsList()

public List<Breakdown> getBreakdownsList()

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.

repeated .google.shopping.merchant.issueresolution.v1beta.Breakdown breakdowns = 3;

Returns
Type Description
List<Breakdown>

getBreakdownsOrBuilder(int index)

public BreakdownOrBuilder getBreakdownsOrBuilder(int index)

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.

repeated .google.shopping.merchant.issueresolution.v1beta.Breakdown breakdowns = 3;

Parameter
Name Description
index int
Returns
Type Description
BreakdownOrBuilder

getBreakdownsOrBuilderList()

public List<? extends BreakdownOrBuilder> getBreakdownsOrBuilderList()

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.

repeated .google.shopping.merchant.issueresolution.v1beta.Breakdown breakdowns = 3;

Returns
Type Description
List<? extends com.google.shopping.merchant.issueresolution.v1beta.BreakdownOrBuilder>

getDefaultInstanceForType()

public Impact getDefaultInstanceForType()
Returns
Type Description
Impact

getDescriptorForType()

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

getMessage()

public String getMessage()

Optional. Message summarizing the overall impact of the issue. If present, it should be rendered to the business. For example: "Disapproves 90k offers in 25 countries"

string message = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Optional. Message summarizing the overall impact of the issue. If present, it should be rendered to the business. For example: "Disapproves 90k offers in 25 countries"

string message = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for message.

getSeverity()

public Severity getSeverity()

The severity of the issue.

.google.shopping.merchant.issueresolution.v1beta.Severity severity = 2;

Returns
Type Description
Severity

The severity.

getSeverityValue()

public int getSeverityValue()

The severity of the issue.

.google.shopping.merchant.issueresolution.v1beta.Severity severity = 2;

Returns
Type Description
int

The enum numeric value on the wire for severity.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(Impact other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeBreakdowns(int index)

public Impact.Builder removeBreakdowns(int index)

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.

repeated .google.shopping.merchant.issueresolution.v1beta.Breakdown breakdowns = 3;

Parameter
Name Description
index int
Returns
Type Description
Impact.Builder

setBreakdowns(int index, Breakdown value)

public Impact.Builder setBreakdowns(int index, Breakdown value)

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.

repeated .google.shopping.merchant.issueresolution.v1beta.Breakdown breakdowns = 3;

Parameters
Name Description
index int
value Breakdown
Returns
Type Description
Impact.Builder

setBreakdowns(int index, Breakdown.Builder builderForValue)

public Impact.Builder setBreakdowns(int index, Breakdown.Builder builderForValue)

Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.

repeated .google.shopping.merchant.issueresolution.v1beta.Breakdown breakdowns = 3;

Parameters
Name Description
index int
builderForValue Breakdown.Builder
Returns
Type Description
Impact.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMessage(String value)

public Impact.Builder setMessage(String value)

Optional. Message summarizing the overall impact of the issue. If present, it should be rendered to the business. For example: "Disapproves 90k offers in 25 countries"

string message = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The message to set.

Returns
Type Description
Impact.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public Impact.Builder setMessageBytes(ByteString value)

Optional. Message summarizing the overall impact of the issue. If present, it should be rendered to the business. For example: "Disapproves 90k offers in 25 countries"

string message = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
Impact.Builder

This builder for chaining.

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

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

setSeverity(Severity value)

public Impact.Builder setSeverity(Severity value)

The severity of the issue.

.google.shopping.merchant.issueresolution.v1beta.Severity severity = 2;

Parameter
Name Description
value Severity

The severity to set.

Returns
Type Description
Impact.Builder

This builder for chaining.

setSeverityValue(int value)

public Impact.Builder setSeverityValue(int value)

The severity of the issue.

.google.shopping.merchant.issueresolution.v1beta.Severity severity = 2;

Parameter
Name Description
value int

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

Returns
Type Description
Impact.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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