Class AccountIssue.ImpactedDestination.Impact.Builder (0.2.0)

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

The impact of the issue on a region.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRegionCode()

public AccountIssue.ImpactedDestination.Impact.Builder clearRegionCode()

The CLDR region code where this issue applies.

string region_code = 1;

Returns
Type Description
AccountIssue.ImpactedDestination.Impact.Builder

This builder for chaining.

clearSeverity()

public AccountIssue.ImpactedDestination.Impact.Builder clearSeverity()

The severity of the issue on the destination and region.

.google.shopping.merchant.accounts.v1beta.AccountIssue.Severity severity = 2;

Returns
Type Description
AccountIssue.ImpactedDestination.Impact.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getRegionCode()

public String getRegionCode()

The CLDR region code where this issue applies.

string region_code = 1;

Returns
Type Description
String

The regionCode.

getRegionCodeBytes()

public ByteString getRegionCodeBytes()

The CLDR region code where this issue applies.

string region_code = 1;

Returns
Type Description
ByteString

The bytes for regionCode.

getSeverity()

public AccountIssue.Severity getSeverity()

The severity of the issue on the destination and region.

.google.shopping.merchant.accounts.v1beta.AccountIssue.Severity severity = 2;

Returns
Type Description
AccountIssue.Severity

The severity.

getSeverityValue()

public int getSeverityValue()

The severity of the issue on the destination and region.

.google.shopping.merchant.accounts.v1beta.AccountIssue.Severity severity = 2;

Returns
Type Description
int

The enum numeric value on the wire for severity.

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

mergeFrom(Message other)

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

mergeFrom(AccountIssue.ImpactedDestination.Impact other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setRegionCode(String value)

public AccountIssue.ImpactedDestination.Impact.Builder setRegionCode(String value)

The CLDR region code where this issue applies.

string region_code = 1;

Parameter
Name Description
value String

The regionCode to set.

Returns
Type Description
AccountIssue.ImpactedDestination.Impact.Builder

This builder for chaining.

setRegionCodeBytes(ByteString value)

public AccountIssue.ImpactedDestination.Impact.Builder setRegionCodeBytes(ByteString value)

The CLDR region code where this issue applies.

string region_code = 1;

Parameter
Name Description
value ByteString

The bytes for regionCode to set.

Returns
Type Description
AccountIssue.ImpactedDestination.Impact.Builder

This builder for chaining.

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

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

setSeverity(AccountIssue.Severity value)

public AccountIssue.ImpactedDestination.Impact.Builder setSeverity(AccountIssue.Severity value)

The severity of the issue on the destination and region.

.google.shopping.merchant.accounts.v1beta.AccountIssue.Severity severity = 2;

Parameter
Name Description
value AccountIssue.Severity

The severity to set.

Returns
Type Description
AccountIssue.ImpactedDestination.Impact.Builder

This builder for chaining.

setSeverityValue(int value)

public AccountIssue.ImpactedDestination.Impact.Builder setSeverityValue(int value)

The severity of the issue on the destination and region.

.google.shopping.merchant.accounts.v1beta.AccountIssue.Severity severity = 2;

Parameter
Name Description
value int

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

Returns
Type Description
AccountIssue.ImpactedDestination.Impact.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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