public final class Address extends GeneratedMessageV3 implements AddressOrBuilder
Resource that represents a address.
Protobuf type google.cloud.talent.v4beta1.Address
Static Fields
CURRENT_FIELD_NUMBER
public static final int CURRENT_FIELD_NUMBER
Field Value
STRUCTURED_ADDRESS_FIELD_NUMBER
public static final int STRUCTURED_ADDRESS_FIELD_NUMBER
Field Value
UNSTRUCTURED_ADDRESS_FIELD_NUMBER
public static final int UNSTRUCTURED_ADDRESS_FIELD_NUMBER
Field Value
USAGE_FIELD_NUMBER
public static final int USAGE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Address getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Address.Builder newBuilder()
Returns
newBuilder(Address prototype)
public static Address.Builder newBuilder(Address prototype)
Parameter
Returns
public static Address parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Address parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Address parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Address parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Address parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Address parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Address parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Address parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Address parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Address parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Address parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Address parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Address> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAddressCase()
public Address.AddressCase getAddressCase()
Returns
getCurrent()
public BoolValue getCurrent()
Indicates if it's the person's current address.
.google.protobuf.BoolValue current = 4;
Returns
getCurrentOrBuilder()
public BoolValueOrBuilder getCurrentOrBuilder()
Indicates if it's the person's current address.
.google.protobuf.BoolValue current = 4;
Returns
getDefaultInstanceForType()
public Address getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Address> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStructuredAddress()
public PostalAddress getStructuredAddress()
Structured address that contains street address, city, state, country,
and so on.
.google.type.PostalAddress structured_address = 3;
Returns
Type | Description |
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
Type | Description |
com.google.type.PostalAddressOrBuilder | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Type | Description |
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
Type | Description |
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
getUsageValue()
public int getUsageValue()
The usage of the address. For example, SCHOOL, WORK, PERSONAL.
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
Returns
Type | Description |
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
Type | Description |
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
Type | Description |
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
Type | Description |
boolean | Whether the unstructuredAddress field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Address.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Address.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Address.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions