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:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasName

      public boolean hasName()
      required string name = 1;
      Specified by:
      hasName in interface AddressBookProtos.PersonOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
      required string name = 1;
      Specified by:
      getName in interface AddressBookProtos.PersonOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      required string name = 1;
      Specified by:
      getNameBytes in interface AddressBookProtos.PersonOrBuilder
      Returns:
      The bytes for name.
    • hasId

      public boolean hasId()
      required int32 id = 2;
      Specified by:
      hasId in interface AddressBookProtos.PersonOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public int getId()
      required int32 id = 2;
      Specified by:
      getId in interface AddressBookProtos.PersonOrBuilder
      Returns:
      The id.
    • hasEmail

      public boolean hasEmail()
      optional string email = 3;
      Specified by:
      hasEmail in interface AddressBookProtos.PersonOrBuilder
      Returns:
      Whether the email field is set.
    • getEmail

      public String getEmail()
      optional string email = 3;
      Specified by:
      getEmail in interface AddressBookProtos.PersonOrBuilder
      Returns:
      The email.
    • getEmailBytes

      public com.google.protobuf.ByteString getEmailBytes()
      optional string email = 3;
      Specified by:
      getEmailBytes in interface AddressBookProtos.PersonOrBuilder
      Returns:
      The bytes for email.
    • getPhoneList

      repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;
      Specified by:
      getPhoneList in interface AddressBookProtos.PersonOrBuilder
    • getPhoneOrBuilderList

      public List<? extends AddressBookProtos.Person.PhoneNumberOrBuilder> getPhoneOrBuilderList()
      repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;
      Specified by:
      getPhoneOrBuilderList in interface AddressBookProtos.PersonOrBuilder
    • getPhoneCount

      public int getPhoneCount()
      repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;
      Specified by:
      getPhoneCount in interface AddressBookProtos.PersonOrBuilder
    • getPhone

      public AddressBookProtos.Person.PhoneNumber getPhone(int index)
      repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;
      Specified by:
      getPhone in interface AddressBookProtos.PersonOrBuilder
    • getPhoneOrBuilder

      public AddressBookProtos.Person.PhoneNumberOrBuilder getPhoneOrBuilder(int index)
      repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;
      Specified by:
      getPhoneOrBuilder in interface AddressBookProtos.PersonOrBuilder
    • getNicknamesList

      public com.google.protobuf.ProtocolStringList getNicknamesList()
      repeated string nicknames = 5;
      Specified by:
      getNicknamesList in interface AddressBookProtos.PersonOrBuilder
      Returns:
      A list containing the nicknames.
    • getNicknamesCount

      public int getNicknamesCount()
      repeated string nicknames = 5;
      Specified by:
      getNicknamesCount in interface AddressBookProtos.PersonOrBuilder
      Returns:
      The count of nicknames.
    • getNicknames

      public String getNicknames(int index)
      repeated string nicknames = 5;
      Specified by:
      getNicknames in interface AddressBookProtos.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:
      getNicknamesBytes in interface AddressBookProtos.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:
      hasAddress in interface AddressBookProtos.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:
      getAddress in interface AddressBookProtos.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:
      getAddressOrBuilder in interface AddressBookProtos.PersonOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AddressBookProtos.Person.Builder newBuilder()
    • newBuilder

      public static AddressBookProtos.Person.Builder newBuilder(AddressBookProtos.Person prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AddressBookProtos.Person.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.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:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public AddressBookProtos.Person getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder