Class ProductAttributes.DisplayAddress (1.23.0)

public static final class ProductAttributes.DisplayAddress extends GeneratedMessage implements ProductAttributes.DisplayAddressOrBuilder

The display address of the property.

Protobuf type google.shopping.merchant.products.v1.ProductAttributes.DisplayAddress

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ProductAttributes.DisplayAddress

Static Fields

CITY_FIELD_NUMBER

public static final int CITY_FIELD_NUMBER
Field Value
Type Description
int

POSTAL_CODE_FIELD_NUMBER

public static final int POSTAL_CODE_FIELD_NUMBER
Field Value
Type Description
int

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
Field Value
Type Description
int

STREET_NAME_FIELD_NUMBER

public static final int STREET_NAME_FIELD_NUMBER
Field Value
Type Description
int

STREET_NUMBER_FIELD_NUMBER

public static final int STREET_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProductAttributes.DisplayAddress getDefaultInstance()
Returns
Type Description
ProductAttributes.DisplayAddress

getDescriptor()

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

newBuilder()

public static ProductAttributes.DisplayAddress.Builder newBuilder()
Returns
Type Description
ProductAttributes.DisplayAddress.Builder

newBuilder(ProductAttributes.DisplayAddress prototype)

public static ProductAttributes.DisplayAddress.Builder newBuilder(ProductAttributes.DisplayAddress prototype)
Parameter
Name Description
prototype ProductAttributes.DisplayAddress
Returns
Type Description
ProductAttributes.DisplayAddress.Builder

parseDelimitedFrom(InputStream input)

public static ProductAttributes.DisplayAddress parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductAttributes.DisplayAddress
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductAttributes.DisplayAddress parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductAttributes.DisplayAddress
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ProductAttributes.DisplayAddress parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProductAttributes.DisplayAddress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProductAttributes.DisplayAddress parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductAttributes.DisplayAddress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProductAttributes.DisplayAddress parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProductAttributes.DisplayAddress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProductAttributes.DisplayAddress parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductAttributes.DisplayAddress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProductAttributes.DisplayAddress parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProductAttributes.DisplayAddress
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductAttributes.DisplayAddress parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductAttributes.DisplayAddress
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ProductAttributes.DisplayAddress parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductAttributes.DisplayAddress
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductAttributes.DisplayAddress parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductAttributes.DisplayAddress
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ProductAttributes.DisplayAddress parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProductAttributes.DisplayAddress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProductAttributes.DisplayAddress parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductAttributes.DisplayAddress
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ProductAttributes.DisplayAddress> parser()
Returns
Type Description
Parser<DisplayAddress>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

getParserForType()

public Parser<ProductAttributes.DisplayAddress> getParserForType()
Returns
Type Description
Parser<DisplayAddress>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProductAttributes.DisplayAddress.Builder newBuilderForType()
Returns
Type Description
ProductAttributes.DisplayAddress.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ProductAttributes.DisplayAddress.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProductAttributes.DisplayAddress.Builder
Overrides

toBuilder()

public ProductAttributes.DisplayAddress.Builder toBuilder()
Returns
Type Description
ProductAttributes.DisplayAddress.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException