public static final class Impact.Builder extends GeneratedMessage.Builder<Impact.Builder> implements ImpactOrBuilderOverall impact of the issue.
Protobuf type google.shopping.merchant.issueresolution.v1.Impact
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Impact.BuilderImplements
ImpactOrBuilderStatic 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.v1.Breakdown breakdowns = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.shopping.merchant.issueresolution.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.Breakdown breakdowns = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Breakdown.Builder |
|
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 |
|
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.v1.Breakdown breakdowns = 3;
| Returns | |
|---|---|
| Type | Description |
Impact.Builder |
|
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. |
clearSeverity()
public Impact.Builder clearSeverity()The severity of the issue.
.google.shopping.merchant.issueresolution.v1.Severity severity = 2;
| Returns | |
|---|---|
| Type | Description |
Impact.Builder |
This builder for chaining. |
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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.Breakdown breakdowns = 3;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.shopping.merchant.issueresolution.v1.BreakdownOrBuilder> |
|
getDefaultInstanceForType()
public Impact getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Impact |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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.v1.Severity severity = 2;
| Returns | |
|---|---|
| Type | Description |
Severity |
The severity. |
getSeverityValue()
public int getSeverityValue()The severity of the issue.
.google.shopping.merchant.issueresolution.v1.Severity severity = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for severity. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Impact.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Impact.Builder |
|
mergeFrom(Impact other)
public Impact.Builder mergeFrom(Impact other)| Parameter | |
|---|---|
| Name | Description |
other |
Impact |
| Returns | |
|---|---|
| Type | Description |
Impact.Builder |
|
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.v1.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.v1.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.v1.Breakdown breakdowns = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Breakdown.Builder |
| Returns | |
|---|---|
| Type | Description |
Impact.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
Impact.Builder |
This builder for chaining. |
setSeverity(Severity value)
public Impact.Builder setSeverity(Severity value)The severity of the issue.
.google.shopping.merchant.issueresolution.v1.Severity severity = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
SeverityThe 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.v1.Severity severity = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for severity to set. |
| Returns | |
|---|---|
| Type | Description |
Impact.Builder |
This builder for chaining. |