public static final class PersonName.PersonStructuredName extends com.google.protobuf.GeneratedMessageV3 implements PersonName.PersonStructuredNameOrBuilder
Resource that represents a person's structured name.Protobuf type
google.cloud.talent.v4beta1.PersonName.PersonStructuredName| Modifier and Type | Class and Description |
|---|---|
static class |
PersonName.PersonStructuredName.Builder
Resource that represents a person's structured name.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
FAMILY_NAME_FIELD_NUMBER |
static int |
GIVEN_NAME_FIELD_NUMBER |
static int |
MIDDLE_INITIAL_FIELD_NUMBER |
static int |
PREFERRED_NAME_FIELD_NUMBER |
static int |
PREFIXES_FIELD_NUMBER |
static int |
SUFFIXES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static PersonName.PersonStructuredName |
getDefaultInstance() |
PersonName.PersonStructuredName |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFamilyName()
Optional.
|
com.google.protobuf.ByteString |
getFamilyNameBytes()
Optional.
|
String |
getGivenName()
Optional.
|
com.google.protobuf.ByteString |
getGivenNameBytes()
Optional.
|
String |
getMiddleInitial()
Optional.
|
com.google.protobuf.ByteString |
getMiddleInitialBytes()
Optional.
|
com.google.protobuf.Parser<PersonName.PersonStructuredName> |
getParserForType() |
String |
getPreferredName()
Optional.
|
com.google.protobuf.ByteString |
getPreferredNameBytes()
Optional.
|
String |
getPrefixes(int index)
Optional.
|
com.google.protobuf.ByteString |
getPrefixesBytes(int index)
Optional.
|
int |
getPrefixesCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getPrefixesList()
Optional.
|
int |
getSerializedSize() |
String |
getSuffixes(int index)
Optional.
|
com.google.protobuf.ByteString |
getSuffixesBytes(int index)
Optional.
|
int |
getSuffixesCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getSuffixesList()
Optional.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PersonName.PersonStructuredName.Builder |
newBuilder() |
static PersonName.PersonStructuredName.Builder |
newBuilder(PersonName.PersonStructuredName prototype) |
PersonName.PersonStructuredName.Builder |
newBuilderForType() |
protected PersonName.PersonStructuredName.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static PersonName.PersonStructuredName |
parseDelimitedFrom(InputStream input) |
static PersonName.PersonStructuredName |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PersonName.PersonStructuredName |
parseFrom(byte[] data) |
static PersonName.PersonStructuredName |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PersonName.PersonStructuredName |
parseFrom(ByteBuffer data) |
static PersonName.PersonStructuredName |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PersonName.PersonStructuredName |
parseFrom(com.google.protobuf.ByteString data) |
static PersonName.PersonStructuredName |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PersonName.PersonStructuredName |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PersonName.PersonStructuredName |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PersonName.PersonStructuredName |
parseFrom(InputStream input) |
static PersonName.PersonStructuredName |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PersonName.PersonStructuredName> |
parser() |
PersonName.PersonStructuredName.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int GIVEN_NAME_FIELD_NUMBER
public static final int PREFERRED_NAME_FIELD_NUMBER
public static final int MIDDLE_INITIAL_FIELD_NUMBER
public static final int FAMILY_NAME_FIELD_NUMBER
public static final int SUFFIXES_FIELD_NUMBER
public static final int PREFIXES_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getGivenName()
Optional. Given/first name. It's derived from [formatted_name][google.cloud.talent.v4beta1.PersonName.formatted_name] if not provided. Number of characters allowed is 100.
string given_name = 1;getGivenName in interface PersonName.PersonStructuredNameOrBuilderpublic com.google.protobuf.ByteString getGivenNameBytes()
Optional. Given/first name. It's derived from [formatted_name][google.cloud.talent.v4beta1.PersonName.formatted_name] if not provided. Number of characters allowed is 100.
string given_name = 1;getGivenNameBytes in interface PersonName.PersonStructuredNameOrBuilderpublic String getPreferredName()
Optional. Preferred given/first name or nickname. Number of characters allowed is 100.
string preferred_name = 6;getPreferredName in interface PersonName.PersonStructuredNameOrBuilderpublic com.google.protobuf.ByteString getPreferredNameBytes()
Optional. Preferred given/first name or nickname. Number of characters allowed is 100.
string preferred_name = 6;getPreferredNameBytes in interface PersonName.PersonStructuredNameOrBuilderpublic String getMiddleInitial()
Optional. Middle initial. It's derived from [formatted_name][google.cloud.talent.v4beta1.PersonName.formatted_name] if not provided. Number of characters allowed is 20.
string middle_initial = 2;getMiddleInitial in interface PersonName.PersonStructuredNameOrBuilderpublic com.google.protobuf.ByteString getMiddleInitialBytes()
Optional. Middle initial. It's derived from [formatted_name][google.cloud.talent.v4beta1.PersonName.formatted_name] if not provided. Number of characters allowed is 20.
string middle_initial = 2;getMiddleInitialBytes in interface PersonName.PersonStructuredNameOrBuilderpublic String getFamilyName()
Optional. Family/last name. It's derived from [formatted_name][google.cloud.talent.v4beta1.PersonName.formatted_name] if not provided. Number of characters allowed is 100.
string family_name = 3;getFamilyName in interface PersonName.PersonStructuredNameOrBuilderpublic com.google.protobuf.ByteString getFamilyNameBytes()
Optional. Family/last name. It's derived from [formatted_name][google.cloud.talent.v4beta1.PersonName.formatted_name] if not provided. Number of characters allowed is 100.
string family_name = 3;getFamilyNameBytes in interface PersonName.PersonStructuredNameOrBuilderpublic com.google.protobuf.ProtocolStringList getSuffixesList()
Optional. Suffixes. Number of characters allowed is 20.
repeated string suffixes = 4;getSuffixesList in interface PersonName.PersonStructuredNameOrBuilderpublic int getSuffixesCount()
Optional. Suffixes. Number of characters allowed is 20.
repeated string suffixes = 4;getSuffixesCount in interface PersonName.PersonStructuredNameOrBuilderpublic String getSuffixes(int index)
Optional. Suffixes. Number of characters allowed is 20.
repeated string suffixes = 4;getSuffixes in interface PersonName.PersonStructuredNameOrBuilderpublic com.google.protobuf.ByteString getSuffixesBytes(int index)
Optional. Suffixes. Number of characters allowed is 20.
repeated string suffixes = 4;getSuffixesBytes in interface PersonName.PersonStructuredNameOrBuilderpublic com.google.protobuf.ProtocolStringList getPrefixesList()
Optional. Prefixes. Number of characters allowed is 20.
repeated string prefixes = 5;getPrefixesList in interface PersonName.PersonStructuredNameOrBuilderpublic int getPrefixesCount()
Optional. Prefixes. Number of characters allowed is 20.
repeated string prefixes = 5;getPrefixesCount in interface PersonName.PersonStructuredNameOrBuilderpublic String getPrefixes(int index)
Optional. Prefixes. Number of characters allowed is 20.
repeated string prefixes = 5;getPrefixes in interface PersonName.PersonStructuredNameOrBuilderpublic com.google.protobuf.ByteString getPrefixesBytes(int index)
Optional. Prefixes. Number of characters allowed is 20.
repeated string prefixes = 5;getPrefixesBytes in interface PersonName.PersonStructuredNameOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PersonName.PersonStructuredName parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PersonName.PersonStructuredName parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PersonName.PersonStructuredName parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PersonName.PersonStructuredName parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PersonName.PersonStructuredName parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PersonName.PersonStructuredName parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PersonName.PersonStructuredName parseFrom(InputStream input) throws IOException
IOExceptionpublic static PersonName.PersonStructuredName parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PersonName.PersonStructuredName parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PersonName.PersonStructuredName parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PersonName.PersonStructuredName parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PersonName.PersonStructuredName parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PersonName.PersonStructuredName.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PersonName.PersonStructuredName.Builder newBuilder()
public static PersonName.PersonStructuredName.Builder newBuilder(PersonName.PersonStructuredName prototype)
public PersonName.PersonStructuredName.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PersonName.PersonStructuredName.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PersonName.PersonStructuredName getDefaultInstance()
public static com.google.protobuf.Parser<PersonName.PersonStructuredName> parser()
public com.google.protobuf.Parser<PersonName.PersonStructuredName> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PersonName.PersonStructuredName getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.