Class Address (2.2.9)

public final class Address extends GeneratedMessageV3 implements AddressOrBuilder

Resource that represents a address.

Protobuf type google.cloud.talent.v4beta1.Address

Implements

AddressOrBuilder

Static Fields

CURRENT_FIELD_NUMBER

public static final int CURRENT_FIELD_NUMBER
Field Value
TypeDescription
int

STRUCTURED_ADDRESS_FIELD_NUMBER

public static final int STRUCTURED_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

UNSTRUCTURED_ADDRESS_FIELD_NUMBER

public static final int UNSTRUCTURED_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

USAGE_FIELD_NUMBER

public static final int USAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Address getDefaultInstance()
Returns
TypeDescription
Address

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Address.Builder newBuilder()
Returns
TypeDescription
Address.Builder

newBuilder(Address prototype)

public static Address.Builder newBuilder(Address prototype)
Parameter
NameDescription
prototypeAddress
Returns
TypeDescription
Address.Builder

parseDelimitedFrom(InputStream input)

public static Address parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Address
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Address parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Address
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Address parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Address
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Address parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Address
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Address parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Address
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Address parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Address
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Address parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Address
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Address parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Address
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Address parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Address
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Address parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Address
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Address parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Address
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Address parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Address
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Address> parser()
Returns
TypeDescription
Parser<Address>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAddressCase()

public Address.AddressCase getAddressCase()
Returns
TypeDescription
Address.AddressCase

getCurrent()

public BoolValue getCurrent()

Indicates if it's the person's current address.

.google.protobuf.BoolValue current = 4;

Returns
TypeDescription
BoolValue

The current.

getCurrentOrBuilder()

public BoolValueOrBuilder getCurrentOrBuilder()

Indicates if it's the person's current address.

.google.protobuf.BoolValue current = 4;

Returns
TypeDescription
BoolValueOrBuilder

getDefaultInstanceForType()

public Address getDefaultInstanceForType()
Returns
TypeDescription
Address

getParserForType()

public Parser<Address> getParserForType()
Returns
TypeDescription
Parser<Address>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStructuredAddress()

public PostalAddress getStructuredAddress()

Structured address that contains street address, city, state, country, and so on.

.google.type.PostalAddress structured_address = 3;

Returns
TypeDescription
com.google.type.PostalAddress

The structuredAddress.

getStructuredAddressOrBuilder()

public PostalAddressOrBuilder getStructuredAddressOrBuilder()

Structured address that contains street address, city, state, country, and so on.

.google.type.PostalAddress structured_address = 3;

Returns
TypeDescription
com.google.type.PostalAddressOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUnstructuredAddress()

public String getUnstructuredAddress()

Unstructured address. For example, "1600 Amphitheatre Pkwy, Mountain View, CA 94043", "Sunnyvale, California". Number of characters allowed is 100.

string unstructured_address = 2;

Returns
TypeDescription
String

The unstructuredAddress.

getUnstructuredAddressBytes()

public ByteString getUnstructuredAddressBytes()

Unstructured address. For example, "1600 Amphitheatre Pkwy, Mountain View, CA 94043", "Sunnyvale, California". Number of characters allowed is 100.

string unstructured_address = 2;

Returns
TypeDescription
ByteString

The bytes for unstructuredAddress.

getUsage()

public ContactInfoUsage getUsage()

The usage of the address. For example, SCHOOL, WORK, PERSONAL.

.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;

Returns
TypeDescription
ContactInfoUsage

The usage.

getUsageValue()

public int getUsageValue()

The usage of the address. For example, SCHOOL, WORK, PERSONAL.

.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for usage.

hasCurrent()

public boolean hasCurrent()

Indicates if it's the person's current address.

.google.protobuf.BoolValue current = 4;

Returns
TypeDescription
boolean

Whether the current field is set.

hasStructuredAddress()

public boolean hasStructuredAddress()

Structured address that contains street address, city, state, country, and so on.

.google.type.PostalAddress structured_address = 3;

Returns
TypeDescription
boolean

Whether the structuredAddress field is set.

hasUnstructuredAddress()

public boolean hasUnstructuredAddress()

Unstructured address. For example, "1600 Amphitheatre Pkwy, Mountain View, CA 94043", "Sunnyvale, California". Number of characters allowed is 100.

string unstructured_address = 2;

Returns
TypeDescription
boolean

Whether the unstructuredAddress field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Address.Builder newBuilderForType()
Returns
TypeDescription
Address.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Address.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Address.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Address.Builder toBuilder()
Returns
TypeDescription
Address.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException