public static final class Breakdown.Region.Builder extends GeneratedMessage.Builder<Breakdown.Region.Builder> implements Breakdown.RegionOrBuilderRegion with code and localized name.
Protobuf type google.shopping.merchant.issueresolution.v1.Breakdown.Region
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Breakdown.Region.BuilderImplements
Breakdown.RegionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Breakdown.Region build()| Returns | |
|---|---|
| Type | Description |
Breakdown.Region |
|
buildPartial()
public Breakdown.Region buildPartial()| Returns | |
|---|---|
| Type | Description |
Breakdown.Region |
|
clear()
public Breakdown.Region.Builder clear()| Returns | |
|---|---|
| Type | Description |
Breakdown.Region.Builder |
|
clearCode()
public Breakdown.Region.Builder clearCode() string code = 1;
| Returns | |
|---|---|
| Type | Description |
Breakdown.Region.Builder |
This builder for chaining. |
clearName()
public Breakdown.Region.Builder clearName()The localized name of the region. For region with code='001' the value is 'All countries' or the equivalent in other languages.
string name = 2;
| Returns | |
|---|---|
| Type | Description |
Breakdown.Region.Builder |
This builder for chaining. |
getCode()
public String getCode() string code = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The code. |
getCodeBytes()
public ByteString getCodeBytes() string code = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for code. |
getDefaultInstanceForType()
public Breakdown.Region getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Breakdown.Region |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()The localized name of the region. For region with code='001' the value is 'All countries' or the equivalent in other languages.
string name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The localized name of the region. For region with code='001' the value is 'All countries' or the equivalent in other languages.
string name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Breakdown.Region.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Breakdown.Region.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Breakdown.Region.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Breakdown.Region.Builder |
|
mergeFrom(Breakdown.Region other)
public Breakdown.Region.Builder mergeFrom(Breakdown.Region other)| Parameter | |
|---|---|
| Name | Description |
other |
Breakdown.Region |
| Returns | |
|---|---|
| Type | Description |
Breakdown.Region.Builder |
|
setCode(String value)
public Breakdown.Region.Builder setCode(String value) string code = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe code to set. |
| Returns | |
|---|---|
| Type | Description |
Breakdown.Region.Builder |
This builder for chaining. |
setCodeBytes(ByteString value)
public Breakdown.Region.Builder setCodeBytes(ByteString value) string code = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for code to set. |
| Returns | |
|---|---|
| Type | Description |
Breakdown.Region.Builder |
This builder for chaining. |
setName(String value)
public Breakdown.Region.Builder setName(String value)The localized name of the region. For region with code='001' the value is 'All countries' or the equivalent in other languages.
string name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Breakdown.Region.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Breakdown.Region.Builder setNameBytes(ByteString value)The localized name of the region. For region with code='001' the value is 'All countries' or the equivalent in other languages.
string name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Breakdown.Region.Builder |
This builder for chaining. |