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 type
org.apache.camel.quarkus.component.protobuf.it.model.Person- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeorg.apache.camel.quarkus.component.protobuf.it.model.Person.Addressstatic interfacestatic final classProtobuf typeorg.apache.camel.quarkus.component.protobuf.it.model.Personstatic final classProtobuf typeorg.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumberstatic interfacestatic enumProtobuf enumorg.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneTypeNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<AddressBookProtos.Person>Deprecated.static final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanoptional .org.apache.camel.quarkus.component.protobuf.it.model.Person.Address address = 6;optional .org.apache.camel.quarkus.component.protobuf.it.model.Person.Address address = 6;static AddressBookProtos.Personstatic final com.google.protobuf.Descriptors.DescriptorgetEmail()optional string email = 3;com.google.protobuf.ByteStringoptional string email = 3;intgetId()required int32 id = 2;getName()required string name = 1;com.google.protobuf.ByteStringrequired string name = 1;getNicknames(int index) repeated string nicknames = 5;com.google.protobuf.ByteStringgetNicknamesBytes(int index) repeated string nicknames = 5;intrepeated string nicknames = 5;com.google.protobuf.ProtocolStringListrepeated string nicknames = 5;com.google.protobuf.Parser<AddressBookProtos.Person>getPhone(int index) repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;intrepeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;getPhoneOrBuilder(int index) repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;intbooleanoptional .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.FieldAccessorTablefinal booleannewBuilder(AddressBookProtos.Person prototype) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
EMAIL_FIELD_NUMBER
public static final int EMAIL_FIELD_NUMBER- See Also:
-
PHONE_FIELD_NUMBER
public static final int PHONE_FIELD_NUMBER- See Also:
-
NICKNAMES_FIELD_NUMBER
public static final int NICKNAMES_FIELD_NUMBER- See Also:
-
ADDRESS_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein 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
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
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
repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;- Specified by:
getPhoneListin interfaceAddressBookProtos.PersonOrBuilder
-
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
repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;- Specified by:
getPhonein interfaceAddressBookProtos.PersonOrBuilder
-
getPhoneOrBuilder
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
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
optional .org.apache.camel.quarkus.component.protobuf.it.model.Person.Address address = 6;- Specified by:
getAddressin interfaceAddressBookProtos.PersonOrBuilder- Returns:
- The address.
-
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
- 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
- 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
- Throws:
IOException
-
parseFrom
public static AddressBookProtos.Person parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
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
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-