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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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;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;List<String>getNicknamesList()repeated string nicknames = 5;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;booleanhasAddress()optional .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.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
AddressBookProtos.Person.PhoneNumber getPhone(int index)
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
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;
-
-