public static final class AccountIssue.ImpactedDestination.Builder extends GeneratedMessage.Builder<AccountIssue.ImpactedDestination.Builder> implements AccountIssue.ImpactedDestinationOrBuilderThe impact of the issue on a destination.
Protobuf type google.shopping.merchant.accounts.v1.AccountIssue.ImpactedDestination
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AccountIssue.ImpactedDestination.BuilderImplements
AccountIssue.ImpactedDestinationOrBuilderStatic 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.v1.AccountIssue.ImpactedDestination.Impact impacts = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.shopping.merchant.accounts.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.AccountIssue.ImpactedDestination.Impact impacts = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AccountIssue.ImpactedDestination.Impact.Builder |
|
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 |
|
clearImpacts()
public AccountIssue.ImpactedDestination.Builder clearImpacts()The (negative) impact for various regions on the given destination.
repeated .google.shopping.merchant.accounts.v1.AccountIssue.ImpactedDestination.Impact impacts = 2;
| Returns | |
|---|---|
| Type | Description |
AccountIssue.ImpactedDestination.Builder |
|
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. |
getDefaultInstanceForType()
public AccountIssue.ImpactedDestination getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AccountIssue.ImpactedDestination |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.AccountIssue.ImpactedDestination.Impact impacts = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.shopping.merchant.accounts.v1.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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
mergeFrom(AccountIssue.ImpactedDestination other)
public AccountIssue.ImpactedDestination.Builder mergeFrom(AccountIssue.ImpactedDestination other)| Parameter | |
|---|---|
| Name | Description |
other |
AccountIssue.ImpactedDestination |
| Returns | |
|---|---|
| Type | Description |
AccountIssue.ImpactedDestination.Builder |
|
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.v1.AccountIssue.ImpactedDestination.Impact impacts = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AccountIssue.ImpactedDestination.Builder |
|
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.v1.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.v1.AccountIssue.ImpactedDestination.Impact impacts = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AccountIssue.ImpactedDestination.Impact.Builder |
| Returns | |
|---|---|
| Type | Description |
AccountIssue.ImpactedDestination.Builder |
|
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.ReportingContextEnumThe 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 |
intThe enum numeric value on the wire for reportingContext to set. |
| Returns | |
|---|---|
| Type | Description |
AccountIssue.ImpactedDestination.Builder |
This builder for chaining. |