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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
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;
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;
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;
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;
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;
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
|
public Impact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
Returns |
Type |
Description |
Impact |
|
public Impact buildPartial()
Returns |
Type |
Description |
Impact |
|
public Impact.Builder clear()
Overrides
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;
public Impact.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
public Impact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Impact.Builder clearSeverity()
The severity of the issue.
.google.shopping.merchant.issueresolution.v1beta.Severity severity = 2;
public Impact.Builder clone()
Overrides
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
|
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
|
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;
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 |
|
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;
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
|
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> |
|
public Impact getDefaultInstanceForType()
Returns |
Type |
Description |
Impact |
|
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
public Severity getSeverity()
The severity of the issue.
.google.shopping.merchant.issueresolution.v1beta.Severity severity = 2;
Returns |
Type |
Description |
Severity |
The severity.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Impact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Impact.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public Impact.Builder mergeFrom(Impact other)
Parameter |
Name |
Description |
other |
Impact
|
public final Impact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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;
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;
public Impact.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
public Impact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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.
|
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.
|
public final Impact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides