Class AccountIssue.ImpactedDestination (0.2.0)

public static final class AccountIssue.ImpactedDestination extends GeneratedMessageV3 implements AccountIssue.ImpactedDestinationOrBuilder

The impact of the issue on a destination.

Protobuf type google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AccountIssue.ImpactedDestination

Static Fields

IMPACTS_FIELD_NUMBER

public static final int IMPACTS_FIELD_NUMBER
Field Value
Type Description
int

REPORTING_CONTEXT_FIELD_NUMBER

public static final int REPORTING_CONTEXT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AccountIssue.ImpactedDestination getDefaultInstance()
Returns
Type Description
AccountIssue.ImpactedDestination

getDescriptor()

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

newBuilder()

public static AccountIssue.ImpactedDestination.Builder newBuilder()
Returns
Type Description
AccountIssue.ImpactedDestination.Builder

newBuilder(AccountIssue.ImpactedDestination prototype)

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

parseDelimitedFrom(InputStream input)

public static AccountIssue.ImpactedDestination parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AccountIssue.ImpactedDestination
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AccountIssue.ImpactedDestination parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AccountIssue.ImpactedDestination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static AccountIssue.ImpactedDestination parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AccountIssue.ImpactedDestination
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AccountIssue.ImpactedDestination parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AccountIssue.ImpactedDestination
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static AccountIssue.ImpactedDestination parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AccountIssue.ImpactedDestination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AccountIssue.ImpactedDestination> parser()
Returns
Type Description
Parser<ImpactedDestination>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AccountIssue.ImpactedDestination getDefaultInstanceForType()
Returns
Type Description
AccountIssue.ImpactedDestination

getImpacts(int index)

public AccountIssue.ImpactedDestination.Impact getImpacts(int index)

The (negative) impact for various regions on the given destination.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination.Impact impacts = 2;

Parameter
Name Description
index int
Returns
Type Description
AccountIssue.ImpactedDestination.Impact

getImpactsCount()

public int getImpactsCount()

The (negative) impact for various regions on the given destination.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination.Impact impacts = 2;

Returns
Type Description
int

getImpactsList()

public List<AccountIssue.ImpactedDestination.Impact> getImpactsList()

The (negative) impact for various regions on the given destination.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination.Impact impacts = 2;

Returns
Type Description
List<Impact>

getImpactsOrBuilder(int index)

public AccountIssue.ImpactedDestination.ImpactOrBuilder getImpactsOrBuilder(int index)

The (negative) impact for various regions on the given destination.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination.Impact impacts = 2;

Parameter
Name Description
index int
Returns
Type Description
AccountIssue.ImpactedDestination.ImpactOrBuilder

getImpactsOrBuilderList()

public List<? extends AccountIssue.ImpactedDestination.ImpactOrBuilder> getImpactsOrBuilderList()

The (negative) impact for various regions on the given destination.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination.Impact impacts = 2;

Returns
Type Description
List<? extends com.google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination.ImpactOrBuilder>

getParserForType()

public Parser<AccountIssue.ImpactedDestination> getParserForType()
Returns
Type Description
Parser<ImpactedDestination>
Overrides

getReportingContext()

public ReportingContext.ReportingContextEnum getReportingContext()

The impacted reporting context.

optional .google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 1;

Returns
Type Description
com.google.shopping.type.ReportingContext.ReportingContextEnum

The reportingContext.

getReportingContextValue()

public int getReportingContextValue()

The impacted reporting context.

optional .google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 1;

Returns
Type Description
int

The enum numeric value on the wire for reportingContext.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasReportingContext()

public boolean hasReportingContext()

The impacted reporting context.

optional .google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 1;

Returns
Type Description
boolean

Whether the reportingContext field is set.

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 AccountIssue.ImpactedDestination.Builder newBuilderForType()
Returns
Type Description
AccountIssue.ImpactedDestination.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AccountIssue.ImpactedDestination.Builder toBuilder()
Returns
Type Description
AccountIssue.ImpactedDestination.Builder

writeTo(CodedOutputStream output)

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