Class AccountIssue.ImpactedDestination.Builder (0.4.0)

public static final class AccountIssue.ImpactedDestination.Builder extends GeneratedMessageV3.Builder<AccountIssue.ImpactedDestination.Builder> implements AccountIssue.ImpactedDestinationOrBuilder

The impact of the issue on a destination.

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

Static Methods

getDescriptor()

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

Methods

addAllImpacts(Iterable<? extends AccountIssue.ImpactedDestination.Impact> values)

public AccountIssue.ImpactedDestination.Builder addAllImpacts(Iterable<? extends AccountIssue.ImpactedDestination.Impact> values)

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

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

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination.Impact>
Returns
Type Description
AccountIssue.ImpactedDestination.Builder

addImpacts(AccountIssue.ImpactedDestination.Impact value)

public AccountIssue.ImpactedDestination.Builder addImpacts(AccountIssue.ImpactedDestination.Impact value)

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

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

Parameter
Name Description
value AccountIssue.ImpactedDestination.Impact
Returns
Type Description
AccountIssue.ImpactedDestination.Builder

addImpacts(AccountIssue.ImpactedDestination.Impact.Builder builderForValue)

public AccountIssue.ImpactedDestination.Builder addImpacts(AccountIssue.ImpactedDestination.Impact.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue AccountIssue.ImpactedDestination.Impact.Builder
Returns
Type Description
AccountIssue.ImpactedDestination.Builder

addImpacts(int index, AccountIssue.ImpactedDestination.Impact value)

public AccountIssue.ImpactedDestination.Builder addImpacts(int index, AccountIssue.ImpactedDestination.Impact value)

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

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

Parameters
Name Description
index int
value AccountIssue.ImpactedDestination.Impact
Returns
Type Description
AccountIssue.ImpactedDestination.Builder

addImpacts(int index, AccountIssue.ImpactedDestination.Impact.Builder builderForValue)

public AccountIssue.ImpactedDestination.Builder addImpacts(int index, AccountIssue.ImpactedDestination.Impact.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue AccountIssue.ImpactedDestination.Impact.Builder
Returns
Type Description
AccountIssue.ImpactedDestination.Builder

addImpactsBuilder()

public AccountIssue.ImpactedDestination.Impact.Builder addImpactsBuilder()

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

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

Returns
Type Description
AccountIssue.ImpactedDestination.Impact.Builder

addImpactsBuilder(int index)

public AccountIssue.ImpactedDestination.Impact.Builder addImpactsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public AccountIssue.ImpactedDestination.Builder clear()
Returns
Type Description
AccountIssue.ImpactedDestination.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearImpacts()

public AccountIssue.ImpactedDestination.Builder clearImpacts()

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

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

Returns
Type Description
AccountIssue.ImpactedDestination.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReportingContext()

public AccountIssue.ImpactedDestination.Builder clearReportingContext()

The impacted reporting context.

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

Returns
Type Description
AccountIssue.ImpactedDestination.Builder

This builder for chaining.

clone()

public AccountIssue.ImpactedDestination.Builder clone()
Returns
Type Description
AccountIssue.ImpactedDestination.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

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

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

getImpactsBuilder(int index)

public AccountIssue.ImpactedDestination.Impact.Builder getImpactsBuilder(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.Builder

getImpactsBuilderList()

public List<AccountIssue.ImpactedDestination.Impact.Builder> getImpactsBuilderList()

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<Builder>

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>

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.

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.

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 AccountIssue.ImpactedDestination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccountIssue.ImpactedDestination.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(AccountIssue.ImpactedDestination other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeImpacts(int index)

public AccountIssue.ImpactedDestination.Builder removeImpacts(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.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setImpacts(int index, AccountIssue.ImpactedDestination.Impact value)

public AccountIssue.ImpactedDestination.Builder setImpacts(int index, AccountIssue.ImpactedDestination.Impact value)

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

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

Parameters
Name Description
index int
value AccountIssue.ImpactedDestination.Impact
Returns
Type Description
AccountIssue.ImpactedDestination.Builder

setImpacts(int index, AccountIssue.ImpactedDestination.Impact.Builder builderForValue)

public AccountIssue.ImpactedDestination.Builder setImpacts(int index, AccountIssue.ImpactedDestination.Impact.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue AccountIssue.ImpactedDestination.Impact.Builder
Returns
Type Description
AccountIssue.ImpactedDestination.Builder

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

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

setReportingContext(ReportingContext.ReportingContextEnum value)

public AccountIssue.ImpactedDestination.Builder setReportingContext(ReportingContext.ReportingContextEnum value)

The impacted reporting context.

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

Parameter
Name Description
value com.google.shopping.type.ReportingContext.ReportingContextEnum

The reportingContext to set.

Returns
Type Description
AccountIssue.ImpactedDestination.Builder

This builder for chaining.

setReportingContextValue(int value)

public AccountIssue.ImpactedDestination.Builder setReportingContextValue(int value)

The impacted reporting context.

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

Parameter
Name Description
value int

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

Returns
Type Description
AccountIssue.ImpactedDestination.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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