Class Address.Builder (2.2.9)

public static final class Address.Builder extends GeneratedMessageV3.Builder<Address.Builder> implements AddressOrBuilder

Resource that represents a address.

Protobuf type google.cloud.talent.v4beta1.Address

Implements

AddressOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Address.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Address.Builder
Overrides

build()

public Address build()
Returns
TypeDescription
Address

buildPartial()

public Address buildPartial()
Returns
TypeDescription
Address

clear()

public Address.Builder clear()
Returns
TypeDescription
Address.Builder
Overrides

clearAddress()

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

clearCurrent()

public Address.Builder clearCurrent()

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

.google.protobuf.BoolValue current = 4;

Returns
TypeDescription
Address.Builder

clearField(Descriptors.FieldDescriptor field)

public Address.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Address.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Address.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Address.Builder
Overrides

clearStructuredAddress()

public Address.Builder clearStructuredAddress()

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

.google.type.PostalAddress structured_address = 3;

Returns
TypeDescription
Address.Builder

clearUnstructuredAddress()

public Address.Builder clearUnstructuredAddress()

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
Address.Builder

This builder for chaining.

clearUsage()

public Address.Builder clearUsage()

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

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

Returns
TypeDescription
Address.Builder

This builder for chaining.

clone()

public Address.Builder clone()
Returns
TypeDescription
Address.Builder
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.

getCurrentBuilder()

public BoolValue.Builder getCurrentBuilder()

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

.google.protobuf.BoolValue current = 4;

Returns
TypeDescription
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

getStructuredAddressBuilder()

public PostalAddress.Builder getStructuredAddressBuilder()

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

.google.type.PostalAddress structured_address = 3;

Returns
TypeDescription
com.google.type.PostalAddress.Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCurrent(BoolValue value)

public Address.Builder mergeCurrent(BoolValue value)

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

.google.protobuf.BoolValue current = 4;

Parameter
NameDescription
valueBoolValue
Returns
TypeDescription
Address.Builder

mergeFrom(Address other)

public Address.Builder mergeFrom(Address other)
Parameter
NameDescription
otherAddress
Returns
TypeDescription
Address.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Address.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Address.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Address.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Address.Builder
Overrides

mergeStructuredAddress(PostalAddress value)

public Address.Builder mergeStructuredAddress(PostalAddress value)

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

.google.type.PostalAddress structured_address = 3;

Parameter
NameDescription
valuecom.google.type.PostalAddress
Returns
TypeDescription
Address.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Address.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Address.Builder
Overrides

setCurrent(BoolValue value)

public Address.Builder setCurrent(BoolValue value)

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

.google.protobuf.BoolValue current = 4;

Parameter
NameDescription
valueBoolValue
Returns
TypeDescription
Address.Builder

setCurrent(BoolValue.Builder builderForValue)

public Address.Builder setCurrent(BoolValue.Builder builderForValue)

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

.google.protobuf.BoolValue current = 4;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Address.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Address.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Address.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Address.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Address.Builder
Overrides

setStructuredAddress(PostalAddress value)

public Address.Builder setStructuredAddress(PostalAddress value)

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

.google.type.PostalAddress structured_address = 3;

Parameter
NameDescription
valuecom.google.type.PostalAddress
Returns
TypeDescription
Address.Builder

setStructuredAddress(PostalAddress.Builder builderForValue)

public Address.Builder setStructuredAddress(PostalAddress.Builder builderForValue)

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

.google.type.PostalAddress structured_address = 3;

Parameter
NameDescription
builderForValuecom.google.type.PostalAddress.Builder
Returns
TypeDescription
Address.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Address.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Address.Builder
Overrides

setUnstructuredAddress(String value)

public Address.Builder setUnstructuredAddress(String value)

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

string unstructured_address = 2;

Parameter
NameDescription
valueString

The unstructuredAddress to set.

Returns
TypeDescription
Address.Builder

This builder for chaining.

setUnstructuredAddressBytes(ByteString value)

public Address.Builder setUnstructuredAddressBytes(ByteString value)

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

string unstructured_address = 2;

Parameter
NameDescription
valueByteString

The bytes for unstructuredAddress to set.

Returns
TypeDescription
Address.Builder

This builder for chaining.

setUsage(ContactInfoUsage value)

public Address.Builder setUsage(ContactInfoUsage value)

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

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

Parameter
NameDescription
valueContactInfoUsage

The usage to set.

Returns
TypeDescription
Address.Builder

This builder for chaining.

setUsageValue(int value)

public Address.Builder setUsageValue(int value)

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

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for usage to set.

Returns
TypeDescription
Address.Builder

This builder for chaining.