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 Summary
Modifier and TypeMethodDescriptionoptional .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;getEmail()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;repeated string nicknames = 5;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;booleanoptional .org.apache.camel.quarkus.component.protobuf.it.model.Person.Address address = 6;booleanhasEmail()optional string email = 3;booleanhasId()required int32 id = 2;booleanhasName()required string name = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
List<AddressBookProtos.Person.PhoneNumber> 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
repeated .org.apache.camel.quarkus.component.protobuf.it.model.Person.PhoneNumber phone = 4; -
getNicknamesList
repeated string nicknames = 5;- Returns:
- A list containing the nicknames.
-
getNicknamesCount
int getNicknamesCount()repeated string nicknames = 5;- Returns:
- The count of nicknames.
-
getNicknames
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
AddressBookProtos.Person.Address getAddress()optional .org.apache.camel.quarkus.component.protobuf.it.model.Person.Address address = 6;- Returns:
- The address.
-
getAddressOrBuilder
AddressBookProtos.Person.AddressOrBuilder getAddressOrBuilder()optional .org.apache.camel.quarkus.component.protobuf.it.model.Person.Address address = 6;
-