Skip to content

Instantly share code, notes, and snippets.

@swankjesse
Created February 11, 2015 05:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save swankjesse/1e4ef472f9a6dca485a4 to your computer and use it in GitHub Desktop.
Save swankjesse/1e4ef472f9a6dca485a4 to your computer and use it in GitHub Desktop.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: publicobject/example/person.proto
package com.publicobject.example;
public final class PersonOuterClass {
private PersonOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_publicobject_example_Person_descriptor;
static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_publicobject_example_Person_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_publicobject_example_Person_PhoneNumber_descriptor;
static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_publicobject_example_Person_PhoneNumber_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n!publicobject/example/person.proto\022\024pub" +
"licobject.example\"\371\001\n\006Person\022\014\n\004name\030\001 \001" +
"(\t\022\n\n\002id\030\002 \001(\005\022\r\n\005email\030\003 \001(\t\0227\n\005phone\030\004" +
" \003(\0132(.publicobject.example.Person.Phone" +
"Number\032S\n\013PhoneNumber\022\016\n\006number\030\001 \001(\t\0224\n" +
"\004type\030\002 \001(\0162&.publicobject.example.Perso" +
"n.PhoneType\"8\n\tPhoneType\022\013\n\007UNKNOWN\020\000\022\n\n" +
"\006MOBILE\020\001\022\010\n\004HOME\020\002\022\010\n\004WORK\020\003B\034\n\030com.pub" +
"licobject.exampleP\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
internal_static_publicobject_example_Person_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_publicobject_example_Person_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_publicobject_example_Person_descriptor,
new java.lang.String[] { "Name", "Id", "Email", "Phone", });
internal_static_publicobject_example_Person_PhoneNumber_descriptor =
internal_static_publicobject_example_Person_descriptor.getNestedTypes().get(0);
internal_static_publicobject_example_Person_PhoneNumber_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_publicobject_example_Person_PhoneNumber_descriptor,
new java.lang.String[] { "Number", "Type", });
}
// @@protoc_insertion_point(outer_class_scope)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment