public static final class ProductAttributes.DisplayAddress.Builder extends GeneratedMessage.Builder<ProductAttributes.DisplayAddress.Builder> implements ProductAttributes.DisplayAddressOrBuilderThe display address of the property.
Protobuf type google.shopping.merchant.products.v1.ProductAttributes.DisplayAddress
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ProductAttributes.DisplayAddress.BuilderImplements
ProductAttributes.DisplayAddressOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ProductAttributes.DisplayAddress build()| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress |
|
buildPartial()
public ProductAttributes.DisplayAddress buildPartial()| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress |
|
clear()
public ProductAttributes.DisplayAddress.Builder clear()| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
|
clearCity()
public ProductAttributes.DisplayAddress.Builder clearCity()The city such as Seattle, New York, etc.
string city = 3;
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
This builder for chaining. |
clearPostalCode()
public ProductAttributes.DisplayAddress.Builder clearPostalCode()The postal code, such as 94043.
string postal_code = 5;
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
This builder for chaining. |
clearRegion()
public ProductAttributes.DisplayAddress.Builder clearRegion()The region(state), such as WA, OH, etc.
string region = 4;
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
This builder for chaining. |
clearStreetName()
public ProductAttributes.DisplayAddress.Builder clearStreetName()The street name.
string street_name = 2;
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
This builder for chaining. |
clearStreetNumber()
public ProductAttributes.DisplayAddress.Builder clearStreetNumber()The street number.
string street_number = 1;
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
This builder for chaining. |
getCity()
public String getCity()The city such as Seattle, New York, etc.
string city = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The city. |
getCityBytes()
public ByteString getCityBytes()The city such as Seattle, New York, etc.
string city = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for city. |
getDefaultInstanceForType()
public ProductAttributes.DisplayAddress getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPostalCode()
public String getPostalCode()The postal code, such as 94043.
string postal_code = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The postalCode. |
getPostalCodeBytes()
public ByteString getPostalCodeBytes()The postal code, such as 94043.
string postal_code = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for postalCode. |
getRegion()
public String getRegion()The region(state), such as WA, OH, etc.
string region = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The region. |
getRegionBytes()
public ByteString getRegionBytes()The region(state), such as WA, OH, etc.
string region = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for region. |
getStreetName()
public String getStreetName()The street name.
string street_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The streetName. |
getStreetNameBytes()
public ByteString getStreetNameBytes()The street name.
string street_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for streetName. |
getStreetNumber()
public String getStreetNumber()The street number.
string street_number = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The streetNumber. |
getStreetNumberBytes()
public ByteString getStreetNumberBytes()The street number.
string street_number = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for streetNumber. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProductAttributes.DisplayAddress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ProductAttributes.DisplayAddress.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
|
mergeFrom(ProductAttributes.DisplayAddress other)
public ProductAttributes.DisplayAddress.Builder mergeFrom(ProductAttributes.DisplayAddress other)| Parameter | |
|---|---|
| Name | Description |
other |
ProductAttributes.DisplayAddress |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
|
setCity(String value)
public ProductAttributes.DisplayAddress.Builder setCity(String value)The city such as Seattle, New York, etc.
string city = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe city to set. |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
This builder for chaining. |
setCityBytes(ByteString value)
public ProductAttributes.DisplayAddress.Builder setCityBytes(ByteString value)The city such as Seattle, New York, etc.
string city = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for city to set. |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
This builder for chaining. |
setPostalCode(String value)
public ProductAttributes.DisplayAddress.Builder setPostalCode(String value)The postal code, such as 94043.
string postal_code = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe postalCode to set. |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
This builder for chaining. |
setPostalCodeBytes(ByteString value)
public ProductAttributes.DisplayAddress.Builder setPostalCodeBytes(ByteString value)The postal code, such as 94043.
string postal_code = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for postalCode to set. |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
This builder for chaining. |
setRegion(String value)
public ProductAttributes.DisplayAddress.Builder setRegion(String value)The region(state), such as WA, OH, etc.
string region = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public ProductAttributes.DisplayAddress.Builder setRegionBytes(ByteString value)The region(state), such as WA, OH, etc.
string region = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
This builder for chaining. |
setStreetName(String value)
public ProductAttributes.DisplayAddress.Builder setStreetName(String value)The street name.
string street_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe streetName to set. |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
This builder for chaining. |
setStreetNameBytes(ByteString value)
public ProductAttributes.DisplayAddress.Builder setStreetNameBytes(ByteString value)The street name.
string street_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for streetName to set. |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
This builder for chaining. |
setStreetNumber(String value)
public ProductAttributes.DisplayAddress.Builder setStreetNumber(String value)The street number.
string street_number = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe streetNumber to set. |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
This builder for chaining. |
setStreetNumberBytes(ByteString value)
public ProductAttributes.DisplayAddress.Builder setStreetNumberBytes(ByteString value)The street number.
string street_number = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for streetNumber to set. |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.DisplayAddress.Builder |
This builder for chaining. |