Instantly share code, notes, and snippets.

Embed
What would you like to do?
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: publicobject/example/person.proto
package com.publicobject.example;
public interface PersonOrBuilder extends
// @@protoc_insertion_point(interface_extends:publicobject.example.Person)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string name = 1;</code>
*
* <pre>
* The customer's full name.
* </pre>
*/
boolean hasName();
/**
* <code>optional string name = 1;</code>
*
* <pre>
* The customer's full name.
* </pre>
*/
java.lang.String getName();
/**
* <code>optional string name = 1;</code>
*
* <pre>
* The customer's full name.
* </pre>
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>optional int32 id = 2;</code>
*
* <pre>
* The customer's ID number.
* </pre>
*/
boolean hasId();
/**
* <code>optional int32 id = 2;</code>
*
* <pre>
* The customer's ID number.
* </pre>
*/
int getId();
/**
* <code>optional string email = 3;</code>
*
* <pre>
* Email address for the customer.
* </pre>
*/
boolean hasEmail();
/**
* <code>optional string email = 3;</code>
*
* <pre>
* Email address for the customer.
* </pre>
*/
java.lang.String getEmail();
/**
* <code>optional string email = 3;</code>
*
* <pre>
* Email address for the customer.
* </pre>
*/
com.google.protobuf.ByteString
getEmailBytes();
/**
* <code>repeated .publicobject.example.Person.PhoneNumber phone = 4;</code>
*
* <pre>
* A list of the user's phone numbers.
* </pre>
*/
java.util.List<com.publicobject.example.Person.PhoneNumber>
getPhoneList();
/**
* <code>repeated .publicobject.example.Person.PhoneNumber phone = 4;</code>
*
* <pre>
* A list of the user's phone numbers.
* </pre>
*/
com.publicobject.example.Person.PhoneNumber getPhone(int index);
/**
* <code>repeated .publicobject.example.Person.PhoneNumber phone = 4;</code>
*
* <pre>
* A list of the user's phone numbers.
* </pre>
*/
int getPhoneCount();
/**
* <code>repeated .publicobject.example.Person.PhoneNumber phone = 4;</code>
*
* <pre>
* A list of the user's phone numbers.
* </pre>
*/
java.util.List<? extends com.publicobject.example.Person.PhoneNumberOrBuilder>
getPhoneOrBuilderList();
/**
* <code>repeated .publicobject.example.Person.PhoneNumber phone = 4;</code>
*
* <pre>
* A list of the user's phone numbers.
* </pre>
*/
com.publicobject.example.Person.PhoneNumberOrBuilder getPhoneOrBuilder(
int index);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment