Class Impact (0.2.0)

public final class Impact extends GeneratedMessageV3 implements ImpactOrBuilder

Overall impact of the issue.

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

Implements

ImpactOrBuilder

Static Fields

BREAKDOWNS_FIELD_NUMBER

public static final int BREAKDOWNS_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Impact getDefaultInstance()
Returns
Type Description
Impact

getDescriptor()

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

newBuilder()

public static Impact.Builder newBuilder()
Returns
Type Description
Impact.Builder

newBuilder(Impact prototype)

public static Impact.Builder newBuilder(Impact prototype)
Parameter
Name Description
prototype Impact
Returns
Type Description
Impact.Builder

parseDelimitedFrom(InputStream input)

public static Impact parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Impact
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Impact parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Impact
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Impact parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Impact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Impact parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Impact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Impact parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Impact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Impact parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Impact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Impact parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Impact
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Impact parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Impact
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Impact parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Impact
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Impact parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Impact
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Impact parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Impact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Impact parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Impact
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Impact> parser()
Returns
Type Description
Parser<Impact>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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

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.

getParserForType()

public Parser<Impact> getParserForType()
Returns
Type Description
Parser<Impact>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Impact.Builder newBuilderForType()
Returns
Type Description
Impact.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Impact.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Impact.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Impact.Builder toBuilder()
Returns
Type Description
Impact.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException