public final class PersonName extends com.google.protobuf.GeneratedMessageV3 implements PersonNameOrBuilder
Resource that represents the name of a person.Protobuf type
google.cloud.talent.v4beta1.PersonName| Modifier and Type | Class and Description |
|---|---|
static class |
PersonName.Builder
Resource that represents the name of a person.
|
static class |
PersonName.PersonNameCase |
static class |
PersonName.PersonStructuredName
Resource that represents a person's structured name.
|
static interface |
PersonName.PersonStructuredNameOrBuilder |
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 |
FORMATTED_NAME_FIELD_NUMBER |
static int |
PREFERRED_NAME_FIELD_NUMBER |
static int |
STRUCTURED_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static PersonName |
getDefaultInstance() |
PersonName |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFormattedName()
Optional.
|
com.google.protobuf.ByteString |
getFormattedNameBytes()
Optional.
|
com.google.protobuf.Parser<PersonName> |
getParserForType() |
PersonName.PersonNameCase |
getPersonNameCase() |
String |
getPreferredName()
Optional.
|
com.google.protobuf.ByteString |
getPreferredNameBytes()
Optional.
|
int |
getSerializedSize() |
PersonName.PersonStructuredName |
getStructuredName()
Optional.
|
PersonName.PersonStructuredNameOrBuilder |
getStructuredNameOrBuilder()
Optional.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasStructuredName()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PersonName.Builder |
newBuilder() |
static PersonName.Builder |
newBuilder(PersonName prototype) |
PersonName.Builder |
newBuilderForType() |
protected PersonName.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static PersonName |
parseDelimitedFrom(InputStream input) |
static PersonName |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PersonName |
parseFrom(byte[] data) |
static PersonName |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PersonName |
parseFrom(ByteBuffer data) |
static PersonName |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PersonName |
parseFrom(com.google.protobuf.ByteString data) |
static PersonName |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PersonName |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PersonName |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PersonName |
parseFrom(InputStream input) |
static PersonName |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PersonName> |
parser() |
PersonName.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 FORMATTED_NAME_FIELD_NUMBER
public static final int STRUCTURED_NAME_FIELD_NUMBER
public static final int PREFERRED_NAME_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 PersonName.PersonNameCase getPersonNameCase()
getPersonNameCase in interface PersonNameOrBuilderpublic String getFormattedName()
Optional. A string represents a person's full name. For example, "Dr. John Smith". Number of characters allowed is 100.
string formatted_name = 1;getFormattedName in interface PersonNameOrBuilderpublic com.google.protobuf.ByteString getFormattedNameBytes()
Optional. A string represents a person's full name. For example, "Dr. John Smith". Number of characters allowed is 100.
string formatted_name = 1;getFormattedNameBytes in interface PersonNameOrBuilderpublic boolean hasStructuredName()
Optional. A person's name in a structured way (last name, first name, suffix, and so on.)
.google.cloud.talent.v4beta1.PersonName.PersonStructuredName structured_name = 2;hasStructuredName in interface PersonNameOrBuilderpublic PersonName.PersonStructuredName getStructuredName()
Optional. A person's name in a structured way (last name, first name, suffix, and so on.)
.google.cloud.talent.v4beta1.PersonName.PersonStructuredName structured_name = 2;getStructuredName in interface PersonNameOrBuilderpublic PersonName.PersonStructuredNameOrBuilder getStructuredNameOrBuilder()
Optional. A person's name in a structured way (last name, first name, suffix, and so on.)
.google.cloud.talent.v4beta1.PersonName.PersonStructuredName structured_name = 2;getStructuredNameOrBuilder in interface PersonNameOrBuilderpublic String getPreferredName()
Optional. Preferred name for the person. This field is ignored if [structured_name][google.cloud.talent.v4beta1.PersonName.structured_name] is provided. Number of characters allowed is 100.
string preferred_name = 3;getPreferredName in interface PersonNameOrBuilderpublic com.google.protobuf.ByteString getPreferredNameBytes()
Optional. Preferred name for the person. This field is ignored if [structured_name][google.cloud.talent.v4beta1.PersonName.structured_name] is provided. Number of characters allowed is 100.
string preferred_name = 3;getPreferredNameBytes in interface PersonNameOrBuilderpublic 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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PersonName parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PersonName parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PersonName parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PersonName parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PersonName parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PersonName parseFrom(InputStream input) throws IOException
IOExceptionpublic static PersonName parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PersonName parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PersonName parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PersonName parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PersonName parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PersonName.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PersonName.Builder newBuilder()
public static PersonName.Builder newBuilder(PersonName prototype)
public PersonName.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PersonName.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PersonName getDefaultInstance()
public static com.google.protobuf.Parser<PersonName> parser()
public com.google.protobuf.Parser<PersonName> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PersonName getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.