Interface AddressBookProtos.PersonOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AddressBookProtos.Person, AddressBookProtos.Person.Builder
Enclosing class:
AddressBookProtos

public static interface AddressBookProtos.PersonOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasName

      boolean hasName()
      required string name = 1;
      Returns:
      Whether the name field is set.
    • getName

      String getName()
      required string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
      required string name = 1;
      Returns:
      The bytes for name.
    • hasId

      boolean hasId()
      required int32 id = 2;
      Returns:
      Whether the id field is set.
    • getId

      int getId()
      required int32 id = 2;
      Returns:
      The id.
    • hasEmail

      boolean hasEmail()
      optional string email = 3;
      Returns:
      Whether the email field is set.
    • getEmail

      String getEmail()
      optional string email = 3;
      Returns:
      The email.
    • getEmailBytes

      com.google.protobuf.ByteString getEmailBytes()
      optional string email = 3;
      Returns:
      The bytes for email.
    • getPhoneList

      repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;
    • getPhone

      repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;
    • getPhoneCount

      int getPhoneCount()
      repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;
    • getPhoneOrBuilderList

      List<? extends AddressBookProtos.Person.PhoneNumberOrBuilder> getPhoneOrBuilderList()
      repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;
    • getPhoneOrBuilder

      AddressBookProtos.Person.PhoneNumberOrBuilder getPhoneOrBuilder(int index)
      repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4;
    • getNicknamesList

      List<String> getNicknamesList()
      repeated string nicknames = 5;
      Returns:
      A list containing the nicknames.
    • getNicknamesCount

      int getNicknamesCount()
      repeated string nicknames = 5;
      Returns:
      The count of nicknames.
    • getNicknames

      String getNicknames(int index)
      repeated string nicknames = 5;
      Parameters:
      index - The index of the element to return.
      Returns:
      The nicknames at the given index.
    • getNicknamesBytes

      com.google.protobuf.ByteString getNicknamesBytes(int index)
      repeated string nicknames = 5;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the nicknames at the given index.
    • hasAddress

      boolean hasAddress()
      optional .org.apache.camel.quarkus.component.protobuf.it.model.Person.Address address = 6;
      Returns:
      Whether the address field is set.
    • getAddress

      optional .org.apache.camel.quarkus.component.protobuf.it.model.Person.Address address = 6;
      Returns:
      The address.
    • getAddressOrBuilder

      optional .org.apache.camel.quarkus.component.protobuf.it.model.Person.Address address = 6;