Class AddressBookProtos.Person
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.apache.camel.quarkus.component.protobuf.it.model.AddressBookProtos.Person
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,AddressBookProtos.PersonOrBuilder
- Enclosing class:
- AddressBookProtos
public static final class AddressBookProtos.Person extends com.google.protobuf.GeneratedMessageV3 implements AddressBookProtos.PersonOrBuilder
Protobuf typeorg.apache.camel.quarkus.component.protobuf.it.model.Person- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAddressBookProtos.Person.AddressProtobuf typeorg.apache.camel.quarkus.component.protobuf.it.model.Person.Addressstatic interfaceAddressBookProtos.Person.AddressOrBuilderstatic classAddressBookProtos.Person.BuilderProtobuf typeorg.apache.camel.quarkus.component.protobuf.it.model.Personstatic classAddressBookProtos.Person.PhoneNumberProtobuf typeorg.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumberstatic interfaceAddressBookProtos.Person.PhoneNumberOrBuilderstatic classAddressBookProtos.Person.PhoneTypeProtobuf enumorg.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneType-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intADDRESS_FIELD_NUMBERstatic intEMAIL_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNICKNAMES_FIELD_NUMBERstatic com.google.protobuf.Parser<AddressBookProtos.Person>PARSERDeprecated.static intPHONE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)AddressBookProtos.Person.AddressgetAddress()optional .org.apache.camel.quarkus.component.protobuf.it.model.Person.Address address = 6;AddressBookProtos.Person.AddressOrBuildergetAddressOrBuilder()optional .org.apache.camel.quarkus.component.protobuf.it.model.Person.Address address = 6;static AddressBookProtos.PersongetDefaultInstance()AddressBookProtos.PersongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetEmail()optional string email = 3;com.google.protobuf.ByteStringgetEmailBytes()optional string email = 3;intgetId()required int32 id = 2;StringgetName()required string name = 1;com.google.protobuf.ByteStringgetNameBytes()required string name = 1;StringgetNicknames(int index)repeated string nicknames = 5;com.google.protobuf.ByteStringgetNicknamesBytes(int index)repeated string nicknames = 5;intgetNicknamesCount()repeated string nicknames = 5;com.google.protobuf.ProtocolStringListgetNicknamesList()repeated string nicknames = 5;com.google.protobuf.Parser<AddressBookProtos.Person>getParserForType()AddressBookProtos.Person.PhoneNumbergetPhone(int index)repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;intgetPhoneCount()repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;List<AddressBookProtos.Person.PhoneNumber>getPhoneList()repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;AddressBookProtos.Person.PhoneNumberOrBuildergetPhoneOrBuilder(int index)repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;List<? extends AddressBookProtos.Person.PhoneNumberOrBuilder>getPhoneOrBuilderList()repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAddress()optional .org.apache.camel.quarkus.component.protobuf.it.model.Person.Address address = 6;booleanhasEmail()optional string email = 3;inthashCode()booleanhasId()required int32 id = 2;booleanhasName()required string name = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AddressBookProtos.Person.BuildernewBuilder()static AddressBookProtos.Person.BuildernewBuilder(AddressBookProtos.Person prototype)AddressBookProtos.Person.BuildernewBuilderForType()protected AddressBookProtos.Person.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AddressBookProtos.PersonparseDelimitedFrom(InputStream input)static AddressBookProtos.PersonparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AddressBookProtos.PersonparseFrom(byte[] data)static AddressBookProtos.PersonparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AddressBookProtos.PersonparseFrom(com.google.protobuf.ByteString data)static AddressBookProtos.PersonparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AddressBookProtos.PersonparseFrom(com.google.protobuf.CodedInputStream input)static AddressBookProtos.PersonparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AddressBookProtos.PersonparseFrom(InputStream input)static AddressBookProtos.PersonparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AddressBookProtos.PersonparseFrom(ByteBuffer data)static AddressBookProtos.PersonparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AddressBookProtos.Person>parser()AddressBookProtos.Person.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
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, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EMAIL_FIELD_NUMBER
public static final int EMAIL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PHONE_FIELD_NUMBER
public static final int PHONE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NICKNAMES_FIELD_NUMBER
public static final int NICKNAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDRESS_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<AddressBookProtos.Person> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasName
public boolean hasName()
required string name = 1;- Specified by:
hasNamein interfaceAddressBookProtos.PersonOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
required string name = 1;- Specified by:
getNamein interfaceAddressBookProtos.PersonOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
required string name = 1;- Specified by:
getNameBytesin interfaceAddressBookProtos.PersonOrBuilder- Returns:
- The bytes for name.
-
hasId
public boolean hasId()
required int32 id = 2;- Specified by:
hasIdin interfaceAddressBookProtos.PersonOrBuilder- Returns:
- Whether the id field is set.
-
getId
public int getId()
required int32 id = 2;- Specified by:
getIdin interfaceAddressBookProtos.PersonOrBuilder- Returns:
- The id.
-
hasEmail
public boolean hasEmail()
optional string email = 3;- Specified by:
hasEmailin interfaceAddressBookProtos.PersonOrBuilder- Returns:
- Whether the email field is set.
-
getEmail
public String getEmail()
optional string email = 3;- Specified by:
getEmailin interfaceAddressBookProtos.PersonOrBuilder- Returns:
- The email.
-
getEmailBytes
public com.google.protobuf.ByteString getEmailBytes()
optional string email = 3;- Specified by:
getEmailBytesin interfaceAddressBookProtos.PersonOrBuilder- Returns:
- The bytes for email.
-
getPhoneList
public List<AddressBookProtos.Person.PhoneNumber> getPhoneList()
repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;- Specified by:
getPhoneListin interfaceAddressBookProtos.PersonOrBuilder
-
getPhoneOrBuilderList
public List<? extends AddressBookProtos.Person.PhoneNumberOrBuilder> getPhoneOrBuilderList()
repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;- Specified by:
getPhoneOrBuilderListin interfaceAddressBookProtos.PersonOrBuilder
-
getPhoneCount
public int getPhoneCount()
repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;- Specified by:
getPhoneCountin interfaceAddressBookProtos.PersonOrBuilder
-
getPhone
public AddressBookProtos.Person.PhoneNumber getPhone(int index)
repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;- Specified by:
getPhonein interfaceAddressBookProtos.PersonOrBuilder
-
getPhoneOrBuilder
public AddressBookProtos.Person.PhoneNumberOrBuilder getPhoneOrBuilder(int index)
repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;- Specified by:
getPhoneOrBuilderin interfaceAddressBookProtos.PersonOrBuilder
-
getNicknamesList
public com.google.protobuf.ProtocolStringList getNicknamesList()
repeated string nicknames = 5;- Specified by:
getNicknamesListin interfaceAddressBookProtos.PersonOrBuilder- Returns:
- A list containing the nicknames.
-
getNicknamesCount
public int getNicknamesCount()
repeated string nicknames = 5;- Specified by:
getNicknamesCountin interfaceAddressBookProtos.PersonOrBuilder- Returns:
- The count of nicknames.
-
getNicknames
public String getNicknames(int index)
repeated string nicknames = 5;- Specified by:
getNicknamesin interfaceAddressBookProtos.PersonOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The nicknames at the given index.
-
getNicknamesBytes
public com.google.protobuf.ByteString getNicknamesBytes(int index)
repeated string nicknames = 5;- Specified by:
getNicknamesBytesin interfaceAddressBookProtos.PersonOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the nicknames at the given index.
-
hasAddress
public boolean hasAddress()
optional .org.apache.camel.quarkus.component.protobuf.it.model.Person.Address address = 6;- Specified by:
hasAddressin interfaceAddressBookProtos.PersonOrBuilder- Returns:
- Whether the address field is set.
-
getAddress
public AddressBookProtos.Person.Address getAddress()
optional .org.apache.camel.quarkus.component.protobuf.it.model.Person.Address address = 6;- Specified by:
getAddressin interfaceAddressBookProtos.PersonOrBuilder- Returns:
- The address.
-
getAddressOrBuilder
public AddressBookProtos.Person.AddressOrBuilder getAddressOrBuilder()
optional .org.apache.camel.quarkus.component.protobuf.it.model.Person.Address address = 6;- Specified by:
getAddressOrBuilderin interfaceAddressBookProtos.PersonOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AddressBookProtos.Person parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddressBookProtos.Person parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddressBookProtos.Person parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddressBookProtos.Person parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddressBookProtos.Person parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddressBookProtos.Person parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddressBookProtos.Person parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AddressBookProtos.Person parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AddressBookProtos.Person parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AddressBookProtos.Person parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AddressBookProtos.Person parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AddressBookProtos.Person parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public AddressBookProtos.Person.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AddressBookProtos.Person.Builder newBuilder()
-
newBuilder
public static AddressBookProtos.Person.Builder newBuilder(AddressBookProtos.Person prototype)
-
toBuilder
public AddressBookProtos.Person.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AddressBookProtos.Person.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AddressBookProtos.Person getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AddressBookProtos.Person> parser()
-
getParserForType
public com.google.protobuf.Parser<AddressBookProtos.Person> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AddressBookProtos.Person getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-