Class Breakdown.Builder (1.16.0)

public static final class Breakdown.Builder extends GeneratedMessage.Builder<Breakdown.Builder> implements BreakdownOrBuilder

A detailed impact breakdown for a group of regions where the impact of the issue on different shopping destinations is the same.

Protobuf type google.shopping.merchant.issueresolution.v1.Breakdown

Implements

BreakdownOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllDetails(Iterable<String> values)

public Breakdown.Builder addAllDetails(Iterable<String> values)

Human readable, localized description of issue's effect on different targets. Should be rendered as a list.

For example:

  • "Products not showing in ads"
  • "Products not showing organically"

repeated string details = 4;

Parameter
Name Description
values Iterable<String>

The details to add.

Returns
Type Description
Breakdown.Builder

This builder for chaining.

addAllRegions(Iterable<? extends Breakdown.Region> values)

public Breakdown.Builder addAllRegions(Iterable<? extends Breakdown.Region> values)

Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.

repeated .google.shopping.merchant.issueresolution.v1.Breakdown.Region regions = 1;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.issueresolution.v1.Breakdown.Region>
Returns
Type Description
Breakdown.Builder

addDetails(String value)

public Breakdown.Builder addDetails(String value)

Human readable, localized description of issue's effect on different targets. Should be rendered as a list.

For example:

  • "Products not showing in ads"
  • "Products not showing organically"

repeated string details = 4;

Parameter
Name Description
value String

The details to add.

Returns
Type Description
Breakdown.Builder

This builder for chaining.

addDetailsBytes(ByteString value)

public Breakdown.Builder addDetailsBytes(ByteString value)

Human readable, localized description of issue's effect on different targets. Should be rendered as a list.

For example:

  • "Products not showing in ads"
  • "Products not showing organically"

repeated string details = 4;

Parameter
Name Description
value ByteString

The bytes of the details to add.

Returns
Type Description
Breakdown.Builder

This builder for chaining.

addRegions(Breakdown.Region value)

public Breakdown.Builder addRegions(Breakdown.Region value)

Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.

repeated .google.shopping.merchant.issueresolution.v1.Breakdown.Region regions = 1;

Parameter
Name Description
value Breakdown.Region
Returns
Type Description
Breakdown.Builder

addRegions(Breakdown.Region.Builder builderForValue)

public Breakdown.Builder addRegions(Breakdown.Region.Builder builderForValue)

Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.

repeated .google.shopping.merchant.issueresolution.v1.Breakdown.Region regions = 1;

Parameter
Name Description
builderForValue Breakdown.Region.Builder
Returns
Type Description
Breakdown.Builder

addRegions(int index, Breakdown.Region value)

public Breakdown.Builder addRegions(int index, Breakdown.Region value)

Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.

repeated .google.shopping.merchant.issueresolution.v1.Breakdown.Region regions = 1;

Parameters
Name Description
index int
value Breakdown.Region
Returns
Type Description
Breakdown.Builder

addRegions(int index, Breakdown.Region.Builder builderForValue)

public Breakdown.Builder addRegions(int index, Breakdown.Region.Builder builderForValue)

Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.

repeated .google.shopping.merchant.issueresolution.v1.Breakdown.Region regions = 1;

Parameters
Name Description
index int
builderForValue Breakdown.Region.Builder
Returns
Type Description
Breakdown.Builder

addRegionsBuilder()

public Breakdown.Region.Builder addRegionsBuilder()

Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.

repeated .google.shopping.merchant.issueresolution.v1.Breakdown.Region regions = 1;

Returns
Type Description
Breakdown.Region.Builder

addRegionsBuilder(int index)

public Breakdown.Region.Builder addRegionsBuilder(int index)

Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.

repeated .google.shopping.merchant.issueresolution.v1.Breakdown.Region regions = 1;

Parameter
Name Description
index int
Returns
Type Description
Breakdown.Region.Builder

build()

public Breakdown build()
Returns
Type Description
Breakdown

buildPartial()

public Breakdown buildPartial()
Returns
Type Description
Breakdown

clear()

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

clearDetails()

public Breakdown.Builder clearDetails()

Human readable, localized description of issue's effect on different targets. Should be rendered as a list.

For example:

  • "Products not showing in ads"
  • "Products not showing organically"

repeated string details = 4;

Returns
Type Description
Breakdown.Builder

This builder for chaining.

clearRegions()

public Breakdown.Builder clearRegions()

Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.

repeated .google.shopping.merchant.issueresolution.v1.Breakdown.Region regions = 1;

Returns
Type Description
Breakdown.Builder

getDefaultInstanceForType()

public Breakdown getDefaultInstanceForType()
Returns
Type Description
Breakdown

getDescriptorForType()

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

getDetails(int index)

public String getDetails(int index)

Human readable, localized description of issue's effect on different targets. Should be rendered as a list.

For example:

  • "Products not showing in ads"
  • "Products not showing organically"

repeated string details = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The details at the given index.

getDetailsBytes(int index)

public ByteString getDetailsBytes(int index)

Human readable, localized description of issue's effect on different targets. Should be rendered as a list.

For example:

  • "Products not showing in ads"
  • "Products not showing organically"

repeated string details = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the details at the given index.

getDetailsCount()

public int getDetailsCount()

Human readable, localized description of issue's effect on different targets. Should be rendered as a list.

For example:

  • "Products not showing in ads"
  • "Products not showing organically"

repeated string details = 4;

Returns
Type Description
int

The count of details.

getDetailsList()

public ProtocolStringList getDetailsList()

Human readable, localized description of issue's effect on different targets. Should be rendered as a list.

For example:

  • "Products not showing in ads"
  • "Products not showing organically"

repeated string details = 4;

Returns
Type Description
ProtocolStringList

A list containing the details.

getRegions(int index)

public Breakdown.Region getRegions(int index)

Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.

repeated .google.shopping.merchant.issueresolution.v1.Breakdown.Region regions = 1;

Parameter
Name Description
index int
Returns
Type Description
Breakdown.Region

getRegionsBuilder(int index)

public Breakdown.Region.Builder getRegionsBuilder(int index)

Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.

repeated .google.shopping.merchant.issueresolution.v1.Breakdown.Region regions = 1;

Parameter
Name Description
index int
Returns
Type Description
Breakdown.Region.Builder

getRegionsBuilderList()

public List<Breakdown.Region.Builder> getRegionsBuilderList()

Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.

repeated .google.shopping.merchant.issueresolution.v1.Breakdown.Region regions = 1;

Returns
Type Description
List<Builder>

getRegionsCount()

public int getRegionsCount()

Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.

repeated .google.shopping.merchant.issueresolution.v1.Breakdown.Region regions = 1;

Returns
Type Description
int

getRegionsList()

public List<Breakdown.Region> getRegionsList()

Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.

repeated .google.shopping.merchant.issueresolution.v1.Breakdown.Region regions = 1;

Returns
Type Description
List<Region>

getRegionsOrBuilder(int index)

public Breakdown.RegionOrBuilder getRegionsOrBuilder(int index)

Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.

repeated .google.shopping.merchant.issueresolution.v1.Breakdown.Region regions = 1;

Parameter
Name Description
index int
Returns
Type Description
Breakdown.RegionOrBuilder

getRegionsOrBuilderList()

public List<? extends Breakdown.RegionOrBuilder> getRegionsOrBuilderList()

Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.

repeated .google.shopping.merchant.issueresolution.v1.Breakdown.Region regions = 1;

Returns
Type Description
List<? extends com.google.shopping.merchant.issueresolution.v1.Breakdown.RegionOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Breakdown.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Breakdown.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(Breakdown other)

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

removeRegions(int index)

public Breakdown.Builder removeRegions(int index)

Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.

repeated .google.shopping.merchant.issueresolution.v1.Breakdown.Region regions = 1;

Parameter
Name Description
index int
Returns
Type Description
Breakdown.Builder

setDetails(int index, String value)

public Breakdown.Builder setDetails(int index, String value)

Human readable, localized description of issue's effect on different targets. Should be rendered as a list.

For example:

  • "Products not showing in ads"
  • "Products not showing organically"

repeated string details = 4;

Parameters
Name Description
index int

The index to set the value at.

value String

The details to set.

Returns
Type Description
Breakdown.Builder

This builder for chaining.

setRegions(int index, Breakdown.Region value)

public Breakdown.Builder setRegions(int index, Breakdown.Region value)

Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.

repeated .google.shopping.merchant.issueresolution.v1.Breakdown.Region regions = 1;

Parameters
Name Description
index int
value Breakdown.Region
Returns
Type Description
Breakdown.Builder

setRegions(int index, Breakdown.Region.Builder builderForValue)

public Breakdown.Builder setRegions(int index, Breakdown.Region.Builder builderForValue)

Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.

repeated .google.shopping.merchant.issueresolution.v1.Breakdown.Region regions = 1;

Parameters
Name Description
index int
builderForValue Breakdown.Region.Builder
Returns
Type Description
Breakdown.Builder