Class AccountIssue.Builder (0.11.0)

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

An AccountIssue.

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

Static Methods

getDescriptor()

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

Methods

addAllImpactedDestinations(Iterable<? extends AccountIssue.ImpactedDestination> values)

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

The impact this issue has on various destinations.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination impacted_destinations = 4;

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

addImpactedDestinations(AccountIssue.ImpactedDestination value)

public AccountIssue.Builder addImpactedDestinations(AccountIssue.ImpactedDestination value)

The impact this issue has on various destinations.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination impacted_destinations = 4;

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

addImpactedDestinations(AccountIssue.ImpactedDestination.Builder builderForValue)

public AccountIssue.Builder addImpactedDestinations(AccountIssue.ImpactedDestination.Builder builderForValue)

The impact this issue has on various destinations.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination impacted_destinations = 4;

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

addImpactedDestinations(int index, AccountIssue.ImpactedDestination value)

public AccountIssue.Builder addImpactedDestinations(int index, AccountIssue.ImpactedDestination value)

The impact this issue has on various destinations.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination impacted_destinations = 4;

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

addImpactedDestinations(int index, AccountIssue.ImpactedDestination.Builder builderForValue)

public AccountIssue.Builder addImpactedDestinations(int index, AccountIssue.ImpactedDestination.Builder builderForValue)

The impact this issue has on various destinations.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination impacted_destinations = 4;

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

addImpactedDestinationsBuilder()

public AccountIssue.ImpactedDestination.Builder addImpactedDestinationsBuilder()

The impact this issue has on various destinations.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination impacted_destinations = 4;

Returns
Type Description
AccountIssue.ImpactedDestination.Builder

addImpactedDestinationsBuilder(int index)

public AccountIssue.ImpactedDestination.Builder addImpactedDestinationsBuilder(int index)

The impact this issue has on various destinations.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination impacted_destinations = 4;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccountIssue build()
Returns
Type Description
AccountIssue

buildPartial()

public AccountIssue buildPartial()
Returns
Type Description
AccountIssue

clear()

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

clearDetail()

public AccountIssue.Builder clearDetail()

Further localized details about the issue.

string detail = 5;

Returns
Type Description
AccountIssue.Builder

This builder for chaining.

clearDocumentationUri()

public AccountIssue.Builder clearDocumentationUri()

Link to Merchant Center Help Center providing further information about the issue and how to fix it.

string documentation_uri = 6;

Returns
Type Description
AccountIssue.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearImpactedDestinations()

public AccountIssue.Builder clearImpactedDestinations()

The impact this issue has on various destinations.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination impacted_destinations = 4;

Returns
Type Description
AccountIssue.Builder

clearName()

public AccountIssue.Builder clearName()

Identifier. The resource name of the account issue. Format: accounts/{account}/issues/{id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
AccountIssue.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSeverity()

public AccountIssue.Builder clearSeverity()

The overall severity of the issue.

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

Returns
Type Description
AccountIssue.Builder

This builder for chaining.

clearTitle()

public AccountIssue.Builder clearTitle()

The localized title of the issue.

string title = 2;

Returns
Type Description
AccountIssue.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AccountIssue getDefaultInstanceForType()
Returns
Type Description
AccountIssue

getDescriptorForType()

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

getDetail()

public String getDetail()

Further localized details about the issue.

string detail = 5;

Returns
Type Description
String

The detail.

getDetailBytes()

public ByteString getDetailBytes()

Further localized details about the issue.

string detail = 5;

Returns
Type Description
ByteString

The bytes for detail.

getDocumentationUri()

public String getDocumentationUri()

Link to Merchant Center Help Center providing further information about the issue and how to fix it.

string documentation_uri = 6;

Returns
Type Description
String

The documentationUri.

getDocumentationUriBytes()

public ByteString getDocumentationUriBytes()

Link to Merchant Center Help Center providing further information about the issue and how to fix it.

string documentation_uri = 6;

Returns
Type Description
ByteString

The bytes for documentationUri.

getImpactedDestinations(int index)

public AccountIssue.ImpactedDestination getImpactedDestinations(int index)

The impact this issue has on various destinations.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination impacted_destinations = 4;

Parameter
Name Description
index int
Returns
Type Description
AccountIssue.ImpactedDestination

getImpactedDestinationsBuilder(int index)

public AccountIssue.ImpactedDestination.Builder getImpactedDestinationsBuilder(int index)

The impact this issue has on various destinations.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination impacted_destinations = 4;

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

getImpactedDestinationsBuilderList()

public List<AccountIssue.ImpactedDestination.Builder> getImpactedDestinationsBuilderList()

The impact this issue has on various destinations.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination impacted_destinations = 4;

Returns
Type Description
List<Builder>

getImpactedDestinationsCount()

public int getImpactedDestinationsCount()

The impact this issue has on various destinations.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination impacted_destinations = 4;

Returns
Type Description
int

getImpactedDestinationsList()

public List<AccountIssue.ImpactedDestination> getImpactedDestinationsList()

The impact this issue has on various destinations.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination impacted_destinations = 4;

Returns
Type Description
List<ImpactedDestination>

getImpactedDestinationsOrBuilder(int index)

public AccountIssue.ImpactedDestinationOrBuilder getImpactedDestinationsOrBuilder(int index)

The impact this issue has on various destinations.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination impacted_destinations = 4;

Parameter
Name Description
index int
Returns
Type Description
AccountIssue.ImpactedDestinationOrBuilder

getImpactedDestinationsOrBuilderList()

public List<? extends AccountIssue.ImpactedDestinationOrBuilder> getImpactedDestinationsOrBuilderList()

The impact this issue has on various destinations.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination impacted_destinations = 4;

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

getName()

public String getName()

Identifier. The resource name of the account issue. Format: accounts/{account}/issues/{id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the account issue. Format: accounts/{account}/issues/{id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getSeverity()

public AccountIssue.Severity getSeverity()

The overall severity of the issue.

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

Returns
Type Description
AccountIssue.Severity

The severity.

getSeverityValue()

public int getSeverityValue()

The overall severity of the issue.

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

Returns
Type Description
int

The enum numeric value on the wire for severity.

getTitle()

public String getTitle()

The localized title of the issue.

string title = 2;

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

The localized title of the issue.

string title = 2;

Returns
Type Description
ByteString

The bytes for title.

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

mergeFrom(Message other)

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

mergeFrom(AccountIssue other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeImpactedDestinations(int index)

public AccountIssue.Builder removeImpactedDestinations(int index)

The impact this issue has on various destinations.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination impacted_destinations = 4;

Parameter
Name Description
index int
Returns
Type Description
AccountIssue.Builder

setDetail(String value)

public AccountIssue.Builder setDetail(String value)

Further localized details about the issue.

string detail = 5;

Parameter
Name Description
value String

The detail to set.

Returns
Type Description
AccountIssue.Builder

This builder for chaining.

setDetailBytes(ByteString value)

public AccountIssue.Builder setDetailBytes(ByteString value)

Further localized details about the issue.

string detail = 5;

Parameter
Name Description
value ByteString

The bytes for detail to set.

Returns
Type Description
AccountIssue.Builder

This builder for chaining.

setDocumentationUri(String value)

public AccountIssue.Builder setDocumentationUri(String value)

Link to Merchant Center Help Center providing further information about the issue and how to fix it.

string documentation_uri = 6;

Parameter
Name Description
value String

The documentationUri to set.

Returns
Type Description
AccountIssue.Builder

This builder for chaining.

setDocumentationUriBytes(ByteString value)

public AccountIssue.Builder setDocumentationUriBytes(ByteString value)

Link to Merchant Center Help Center providing further information about the issue and how to fix it.

string documentation_uri = 6;

Parameter
Name Description
value ByteString

The bytes for documentationUri to set.

Returns
Type Description
AccountIssue.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setImpactedDestinations(int index, AccountIssue.ImpactedDestination value)

public AccountIssue.Builder setImpactedDestinations(int index, AccountIssue.ImpactedDestination value)

The impact this issue has on various destinations.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination impacted_destinations = 4;

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

setImpactedDestinations(int index, AccountIssue.ImpactedDestination.Builder builderForValue)

public AccountIssue.Builder setImpactedDestinations(int index, AccountIssue.ImpactedDestination.Builder builderForValue)

The impact this issue has on various destinations.

repeated .google.shopping.merchant.accounts.v1beta.AccountIssue.ImpactedDestination impacted_destinations = 4;

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

setName(String value)

public AccountIssue.Builder setName(String value)

Identifier. The resource name of the account issue. Format: accounts/{account}/issues/{id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AccountIssue.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AccountIssue.Builder setNameBytes(ByteString value)

Identifier. The resource name of the account issue. Format: accounts/{account}/issues/{id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AccountIssue.Builder

This builder for chaining.

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

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

setSeverity(AccountIssue.Severity value)

public AccountIssue.Builder setSeverity(AccountIssue.Severity value)

The overall severity of the issue.

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

Parameter
Name Description
value AccountIssue.Severity

The severity to set.

Returns
Type Description
AccountIssue.Builder

This builder for chaining.

setSeverityValue(int value)

public AccountIssue.Builder setSeverityValue(int value)

The overall severity of the issue.

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

Parameter
Name Description
value int

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

Returns
Type Description
AccountIssue.Builder

This builder for chaining.

setTitle(String value)

public AccountIssue.Builder setTitle(String value)

The localized title of the issue.

string title = 2;

Parameter
Name Description
value String

The title to set.

Returns
Type Description
AccountIssue.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public AccountIssue.Builder setTitleBytes(ByteString value)

The localized title of the issue.

string title = 2;

Parameter
Name Description
value ByteString

The bytes for title to set.

Returns
Type Description
AccountIssue.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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