diff --git a/voter-registry/src/main/java/meerkat/protobuf/ProtobufsMessages.proto b/voter-registry/src/main/java/ProtobufsMessages.proto similarity index 94% rename from voter-registry/src/main/java/meerkat/protobuf/ProtobufsMessages.proto rename to voter-registry/src/main/java/ProtobufsMessages.proto index ff40474..05ae4ee 100644 --- a/voter-registry/src/main/java/meerkat/protobuf/ProtobufsMessages.proto +++ b/voter-registry/src/main/java/ProtobufsMessages.proto @@ -1,3 +1,5 @@ +package meerkat; + option java_outer_classname = "ProtobufsMessages"; message Tag { diff --git a/voter-registry/src/main/java/meerkat/ProtobufsMessages.java b/voter-registry/src/main/java/meerkat/ProtobufsMessages.java index 36d1092..b08f874 100644 --- a/voter-registry/src/main/java/meerkat/ProtobufsMessages.java +++ b/voter-registry/src/main/java/meerkat/ProtobufsMessages.java @@ -1,13 +1,15 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: ProtobufsMessages.proto +package meerkat; + public final class ProtobufsMessages { private ProtobufsMessages() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } public interface TagOrBuilder extends - // @@protoc_insertion_point(interface_extends:Tag) + // @@protoc_insertion_point(interface_extends:meerkat.Tag) com.google.protobuf.MessageOrBuilder { /** @@ -25,11 +27,11 @@ public final class ProtobufsMessages { getContentBytes(); } /** - * Protobuf type {@code Tag} + * Protobuf type {@code meerkat.Tag} */ public static final class Tag extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:Tag) + // @@protoc_insertion_point(message_implements:meerkat.Tag) TagOrBuilder { // Use Tag.newBuilder() to construct. private Tag(com.google.protobuf.GeneratedMessage.Builder builder) { @@ -96,14 +98,14 @@ public final class ProtobufsMessages { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return ProtobufsMessages.internal_static_Tag_descriptor; + return meerkat.ProtobufsMessages.internal_static_meerkat_Tag_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return ProtobufsMessages.internal_static_Tag_fieldAccessorTable + return meerkat.ProtobufsMessages.internal_static_meerkat_Tag_fieldAccessorTable .ensureFieldAccessorsInitialized( - ProtobufsMessages.Tag.class, ProtobufsMessages.Tag.Builder.class); + meerkat.ProtobufsMessages.Tag.class, meerkat.ProtobufsMessages.Tag.Builder.class); } public static com.google.protobuf.Parser PARSER = @@ -212,53 +214,53 @@ public final class ProtobufsMessages { return super.writeReplace(); } - public static ProtobufsMessages.Tag parseFrom( + public static meerkat.ProtobufsMessages.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static ProtobufsMessages.Tag parseFrom( + public static meerkat.ProtobufsMessages.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static ProtobufsMessages.Tag parseFrom(byte[] data) + public static meerkat.ProtobufsMessages.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static ProtobufsMessages.Tag parseFrom( + public static meerkat.ProtobufsMessages.Tag parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static ProtobufsMessages.Tag parseFrom(java.io.InputStream input) + public static meerkat.ProtobufsMessages.Tag parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static ProtobufsMessages.Tag parseFrom( + public static meerkat.ProtobufsMessages.Tag parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static ProtobufsMessages.Tag parseDelimitedFrom(java.io.InputStream input) + public static meerkat.ProtobufsMessages.Tag parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static ProtobufsMessages.Tag parseDelimitedFrom( + public static meerkat.ProtobufsMessages.Tag parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static ProtobufsMessages.Tag parseFrom( + public static meerkat.ProtobufsMessages.Tag parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static ProtobufsMessages.Tag parseFrom( + public static meerkat.ProtobufsMessages.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -267,7 +269,7 @@ public final class ProtobufsMessages { public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(ProtobufsMessages.Tag prototype) { + public static Builder newBuilder(meerkat.ProtobufsMessages.Tag prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @@ -279,25 +281,25 @@ public final class ProtobufsMessages { return builder; } /** - * Protobuf type {@code Tag} + * Protobuf type {@code meerkat.Tag} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:Tag) - ProtobufsMessages.TagOrBuilder { + // @@protoc_insertion_point(builder_implements:meerkat.Tag) + meerkat.ProtobufsMessages.TagOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return ProtobufsMessages.internal_static_Tag_descriptor; + return meerkat.ProtobufsMessages.internal_static_meerkat_Tag_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return ProtobufsMessages.internal_static_Tag_fieldAccessorTable + return meerkat.ProtobufsMessages.internal_static_meerkat_Tag_fieldAccessorTable .ensureFieldAccessorsInitialized( - ProtobufsMessages.Tag.class, ProtobufsMessages.Tag.Builder.class); + meerkat.ProtobufsMessages.Tag.class, meerkat.ProtobufsMessages.Tag.Builder.class); } - // Construct using ProtobufsMessages.Tag.newBuilder() + // Construct using meerkat.ProtobufsMessages.Tag.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -328,23 +330,23 @@ public final class ProtobufsMessages { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return ProtobufsMessages.internal_static_Tag_descriptor; + return meerkat.ProtobufsMessages.internal_static_meerkat_Tag_descriptor; } - public ProtobufsMessages.Tag getDefaultInstanceForType() { - return ProtobufsMessages.Tag.getDefaultInstance(); + public meerkat.ProtobufsMessages.Tag getDefaultInstanceForType() { + return meerkat.ProtobufsMessages.Tag.getDefaultInstance(); } - public ProtobufsMessages.Tag build() { - ProtobufsMessages.Tag result = buildPartial(); + public meerkat.ProtobufsMessages.Tag build() { + meerkat.ProtobufsMessages.Tag result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public ProtobufsMessages.Tag buildPartial() { - ProtobufsMessages.Tag result = new ProtobufsMessages.Tag(this); + public meerkat.ProtobufsMessages.Tag buildPartial() { + meerkat.ProtobufsMessages.Tag result = new meerkat.ProtobufsMessages.Tag(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -357,16 +359,16 @@ public final class ProtobufsMessages { } public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof ProtobufsMessages.Tag) { - return mergeFrom((ProtobufsMessages.Tag)other); + if (other instanceof meerkat.ProtobufsMessages.Tag) { + return mergeFrom((meerkat.ProtobufsMessages.Tag)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(ProtobufsMessages.Tag other) { - if (other == ProtobufsMessages.Tag.getDefaultInstance()) return this; + public Builder mergeFrom(meerkat.ProtobufsMessages.Tag other) { + if (other == meerkat.ProtobufsMessages.Tag.getDefaultInstance()) return this; if (other.hasContent()) { bitField0_ |= 0x00000001; content_ = other.content_; @@ -388,11 +390,11 @@ public final class ProtobufsMessages { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - ProtobufsMessages.Tag parsedMessage = null; + meerkat.ProtobufsMessages.Tag parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (ProtobufsMessages.Tag) e.getUnfinishedMessage(); + parsedMessage = (meerkat.ProtobufsMessages.Tag) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { @@ -479,7 +481,7 @@ public final class ProtobufsMessages { return this; } - // @@protoc_insertion_point(builder_scope:Tag) + // @@protoc_insertion_point(builder_scope:meerkat.Tag) } static { @@ -487,35 +489,35 @@ public final class ProtobufsMessages { defaultInstance.initFields(); } - // @@protoc_insertion_point(class_scope:Tag) + // @@protoc_insertion_point(class_scope:meerkat.Tag) } public interface BasicMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:BasicMessage) + // @@protoc_insertion_point(interface_extends:meerkat.BasicMessage) com.google.protobuf.MessageOrBuilder { /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - java.util.List + java.util.List getTagList(); /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - ProtobufsMessages.Tag getTag(int index); + meerkat.ProtobufsMessages.Tag getTag(int index); /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ int getTagCount(); /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - java.util.List + java.util.List getTagOrBuilderList(); /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - ProtobufsMessages.TagOrBuilder getTagOrBuilder( + meerkat.ProtobufsMessages.TagOrBuilder getTagOrBuilder( int index); /** @@ -528,11 +530,11 @@ public final class ProtobufsMessages { com.google.protobuf.ByteString getData(); } /** - * Protobuf type {@code BasicMessage} + * Protobuf type {@code meerkat.BasicMessage} */ public static final class BasicMessage extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:BasicMessage) + // @@protoc_insertion_point(message_implements:meerkat.BasicMessage) BasicMessageOrBuilder { // Use BasicMessage.newBuilder() to construct. private BasicMessage(com.google.protobuf.GeneratedMessage.Builder builder) { @@ -581,10 +583,10 @@ public final class ProtobufsMessages { } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - tag_ = new java.util.ArrayList(); + tag_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } - tag_.add(input.readMessage(ProtobufsMessages.Tag.PARSER, extensionRegistry)); + tag_.add(input.readMessage(meerkat.ProtobufsMessages.Tag.PARSER, extensionRegistry)); break; } case 18: { @@ -609,14 +611,14 @@ public final class ProtobufsMessages { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return ProtobufsMessages.internal_static_BasicMessage_descriptor; + return meerkat.ProtobufsMessages.internal_static_meerkat_BasicMessage_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return ProtobufsMessages.internal_static_BasicMessage_fieldAccessorTable + return meerkat.ProtobufsMessages.internal_static_meerkat_BasicMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - ProtobufsMessages.BasicMessage.class, ProtobufsMessages.BasicMessage.Builder.class); + meerkat.ProtobufsMessages.BasicMessage.class, meerkat.ProtobufsMessages.BasicMessage.Builder.class); } public static com.google.protobuf.Parser PARSER = @@ -636,36 +638,36 @@ public final class ProtobufsMessages { private int bitField0_; public static final int TAG_FIELD_NUMBER = 1; - private java.util.List tag_; + private java.util.List tag_; /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public java.util.List getTagList() { + public java.util.List getTagList() { return tag_; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public java.util.List + public java.util.List getTagOrBuilderList() { return tag_; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public int getTagCount() { return tag_.size(); } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public ProtobufsMessages.Tag getTag(int index) { + public meerkat.ProtobufsMessages.Tag getTag(int index) { return tag_.get(index); } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public ProtobufsMessages.TagOrBuilder getTagOrBuilder( + public meerkat.ProtobufsMessages.TagOrBuilder getTagOrBuilder( int index) { return tag_.get(index); } @@ -743,53 +745,53 @@ public final class ProtobufsMessages { return super.writeReplace(); } - public static ProtobufsMessages.BasicMessage parseFrom( + public static meerkat.ProtobufsMessages.BasicMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static ProtobufsMessages.BasicMessage parseFrom( + public static meerkat.ProtobufsMessages.BasicMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static ProtobufsMessages.BasicMessage parseFrom(byte[] data) + public static meerkat.ProtobufsMessages.BasicMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static ProtobufsMessages.BasicMessage parseFrom( + public static meerkat.ProtobufsMessages.BasicMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static ProtobufsMessages.BasicMessage parseFrom(java.io.InputStream input) + public static meerkat.ProtobufsMessages.BasicMessage parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static ProtobufsMessages.BasicMessage parseFrom( + public static meerkat.ProtobufsMessages.BasicMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static ProtobufsMessages.BasicMessage parseDelimitedFrom(java.io.InputStream input) + public static meerkat.ProtobufsMessages.BasicMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static ProtobufsMessages.BasicMessage parseDelimitedFrom( + public static meerkat.ProtobufsMessages.BasicMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static ProtobufsMessages.BasicMessage parseFrom( + public static meerkat.ProtobufsMessages.BasicMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static ProtobufsMessages.BasicMessage parseFrom( + public static meerkat.ProtobufsMessages.BasicMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -798,7 +800,7 @@ public final class ProtobufsMessages { public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(ProtobufsMessages.BasicMessage prototype) { + public static Builder newBuilder(meerkat.ProtobufsMessages.BasicMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @@ -810,25 +812,25 @@ public final class ProtobufsMessages { return builder; } /** - * Protobuf type {@code BasicMessage} + * Protobuf type {@code meerkat.BasicMessage} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:BasicMessage) - ProtobufsMessages.BasicMessageOrBuilder { + // @@protoc_insertion_point(builder_implements:meerkat.BasicMessage) + meerkat.ProtobufsMessages.BasicMessageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return ProtobufsMessages.internal_static_BasicMessage_descriptor; + return meerkat.ProtobufsMessages.internal_static_meerkat_BasicMessage_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return ProtobufsMessages.internal_static_BasicMessage_fieldAccessorTable + return meerkat.ProtobufsMessages.internal_static_meerkat_BasicMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - ProtobufsMessages.BasicMessage.class, ProtobufsMessages.BasicMessage.Builder.class); + meerkat.ProtobufsMessages.BasicMessage.class, meerkat.ProtobufsMessages.BasicMessage.Builder.class); } - // Construct using ProtobufsMessages.BasicMessage.newBuilder() + // Construct using meerkat.ProtobufsMessages.BasicMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -866,23 +868,23 @@ public final class ProtobufsMessages { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return ProtobufsMessages.internal_static_BasicMessage_descriptor; + return meerkat.ProtobufsMessages.internal_static_meerkat_BasicMessage_descriptor; } - public ProtobufsMessages.BasicMessage getDefaultInstanceForType() { - return ProtobufsMessages.BasicMessage.getDefaultInstance(); + public meerkat.ProtobufsMessages.BasicMessage getDefaultInstanceForType() { + return meerkat.ProtobufsMessages.BasicMessage.getDefaultInstance(); } - public ProtobufsMessages.BasicMessage build() { - ProtobufsMessages.BasicMessage result = buildPartial(); + public meerkat.ProtobufsMessages.BasicMessage build() { + meerkat.ProtobufsMessages.BasicMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public ProtobufsMessages.BasicMessage buildPartial() { - ProtobufsMessages.BasicMessage result = new ProtobufsMessages.BasicMessage(this); + public meerkat.ProtobufsMessages.BasicMessage buildPartial() { + meerkat.ProtobufsMessages.BasicMessage result = new meerkat.ProtobufsMessages.BasicMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (tagBuilder_ == null) { @@ -904,16 +906,16 @@ public final class ProtobufsMessages { } public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof ProtobufsMessages.BasicMessage) { - return mergeFrom((ProtobufsMessages.BasicMessage)other); + if (other instanceof meerkat.ProtobufsMessages.BasicMessage) { + return mergeFrom((meerkat.ProtobufsMessages.BasicMessage)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(ProtobufsMessages.BasicMessage other) { - if (other == ProtobufsMessages.BasicMessage.getDefaultInstance()) return this; + public Builder mergeFrom(meerkat.ProtobufsMessages.BasicMessage other) { + if (other == meerkat.ProtobufsMessages.BasicMessage.getDefaultInstance()) return this; if (tagBuilder_ == null) { if (!other.tag_.isEmpty()) { if (tag_.isEmpty()) { @@ -961,11 +963,11 @@ public final class ProtobufsMessages { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - ProtobufsMessages.BasicMessage parsedMessage = null; + meerkat.ProtobufsMessages.BasicMessage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (ProtobufsMessages.BasicMessage) e.getUnfinishedMessage(); + parsedMessage = (meerkat.ProtobufsMessages.BasicMessage) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { @@ -976,22 +978,22 @@ public final class ProtobufsMessages { } private int bitField0_; - private java.util.List tag_ = + private java.util.List tag_ = java.util.Collections.emptyList(); private void ensureTagIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { - tag_ = new java.util.ArrayList(tag_); + tag_ = new java.util.ArrayList(tag_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< - ProtobufsMessages.Tag, ProtobufsMessages.Tag.Builder, ProtobufsMessages.TagOrBuilder> tagBuilder_; + meerkat.ProtobufsMessages.Tag, meerkat.ProtobufsMessages.Tag.Builder, meerkat.ProtobufsMessages.TagOrBuilder> tagBuilder_; /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public java.util.List getTagList() { + public java.util.List getTagList() { if (tagBuilder_ == null) { return java.util.Collections.unmodifiableList(tag_); } else { @@ -999,7 +1001,7 @@ public final class ProtobufsMessages { } } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public int getTagCount() { if (tagBuilder_ == null) { @@ -1009,9 +1011,9 @@ public final class ProtobufsMessages { } } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public ProtobufsMessages.Tag getTag(int index) { + public meerkat.ProtobufsMessages.Tag getTag(int index) { if (tagBuilder_ == null) { return tag_.get(index); } else { @@ -1019,10 +1021,10 @@ public final class ProtobufsMessages { } } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public Builder setTag( - int index, ProtobufsMessages.Tag value) { + int index, meerkat.ProtobufsMessages.Tag value) { if (tagBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1036,10 +1038,10 @@ public final class ProtobufsMessages { return this; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public Builder setTag( - int index, ProtobufsMessages.Tag.Builder builderForValue) { + int index, meerkat.ProtobufsMessages.Tag.Builder builderForValue) { if (tagBuilder_ == null) { ensureTagIsMutable(); tag_.set(index, builderForValue.build()); @@ -1050,9 +1052,9 @@ public final class ProtobufsMessages { return this; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public Builder addTag(ProtobufsMessages.Tag value) { + public Builder addTag(meerkat.ProtobufsMessages.Tag value) { if (tagBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1066,10 +1068,10 @@ public final class ProtobufsMessages { return this; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public Builder addTag( - int index, ProtobufsMessages.Tag value) { + int index, meerkat.ProtobufsMessages.Tag value) { if (tagBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1083,10 +1085,10 @@ public final class ProtobufsMessages { return this; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public Builder addTag( - ProtobufsMessages.Tag.Builder builderForValue) { + meerkat.ProtobufsMessages.Tag.Builder builderForValue) { if (tagBuilder_ == null) { ensureTagIsMutable(); tag_.add(builderForValue.build()); @@ -1097,10 +1099,10 @@ public final class ProtobufsMessages { return this; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public Builder addTag( - int index, ProtobufsMessages.Tag.Builder builderForValue) { + int index, meerkat.ProtobufsMessages.Tag.Builder builderForValue) { if (tagBuilder_ == null) { ensureTagIsMutable(); tag_.add(index, builderForValue.build()); @@ -1111,10 +1113,10 @@ public final class ProtobufsMessages { return this; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public Builder addAllTag( - java.lang.Iterable values) { + java.lang.Iterable values) { if (tagBuilder_ == null) { ensureTagIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -1126,7 +1128,7 @@ public final class ProtobufsMessages { return this; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public Builder clearTag() { if (tagBuilder_ == null) { @@ -1139,7 +1141,7 @@ public final class ProtobufsMessages { return this; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public Builder removeTag(int index) { if (tagBuilder_ == null) { @@ -1152,16 +1154,16 @@ public final class ProtobufsMessages { return this; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public ProtobufsMessages.Tag.Builder getTagBuilder( + public meerkat.ProtobufsMessages.Tag.Builder getTagBuilder( int index) { return getTagFieldBuilder().getBuilder(index); } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public ProtobufsMessages.TagOrBuilder getTagOrBuilder( + public meerkat.ProtobufsMessages.TagOrBuilder getTagOrBuilder( int index) { if (tagBuilder_ == null) { return tag_.get(index); } else { @@ -1169,9 +1171,9 @@ public final class ProtobufsMessages { } } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public java.util.List + public java.util.List getTagOrBuilderList() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilderList(); @@ -1180,33 +1182,33 @@ public final class ProtobufsMessages { } } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public ProtobufsMessages.Tag.Builder addTagBuilder() { + public meerkat.ProtobufsMessages.Tag.Builder addTagBuilder() { return getTagFieldBuilder().addBuilder( - ProtobufsMessages.Tag.getDefaultInstance()); + meerkat.ProtobufsMessages.Tag.getDefaultInstance()); } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public ProtobufsMessages.Tag.Builder addTagBuilder( + public meerkat.ProtobufsMessages.Tag.Builder addTagBuilder( int index) { return getTagFieldBuilder().addBuilder( - index, ProtobufsMessages.Tag.getDefaultInstance()); + index, meerkat.ProtobufsMessages.Tag.getDefaultInstance()); } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public java.util.List + public java.util.List getTagBuilderList() { return getTagFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< - ProtobufsMessages.Tag, ProtobufsMessages.Tag.Builder, ProtobufsMessages.TagOrBuilder> + meerkat.ProtobufsMessages.Tag, meerkat.ProtobufsMessages.Tag.Builder, meerkat.ProtobufsMessages.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { tagBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - ProtobufsMessages.Tag, ProtobufsMessages.Tag.Builder, ProtobufsMessages.TagOrBuilder>( + meerkat.ProtobufsMessages.Tag, meerkat.ProtobufsMessages.Tag.Builder, meerkat.ProtobufsMessages.TagOrBuilder>( tag_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), @@ -1251,7 +1253,7 @@ public final class ProtobufsMessages { return this; } - // @@protoc_insertion_point(builder_scope:BasicMessage) + // @@protoc_insertion_point(builder_scope:meerkat.BasicMessage) } static { @@ -1259,49 +1261,49 @@ public final class ProtobufsMessages { defaultInstance.initFields(); } - // @@protoc_insertion_point(class_scope:BasicMessage) + // @@protoc_insertion_point(class_scope:meerkat.BasicMessage) } public interface BulletinBoardMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:BulletinBoardMessage) + // @@protoc_insertion_point(interface_extends:meerkat.BulletinBoardMessage) com.google.protobuf.MessageOrBuilder { /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - java.util.List + java.util.List getTagList(); /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - ProtobufsMessages.Tag getTag(int index); + meerkat.ProtobufsMessages.Tag getTag(int index); /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ int getTagCount(); /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - java.util.List + java.util.List getTagOrBuilderList(); /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - ProtobufsMessages.TagOrBuilder getTagOrBuilder( + meerkat.ProtobufsMessages.TagOrBuilder getTagOrBuilder( int index); /** - * required .BasicMessage basicMessage = 2; + * required .meerkat.BasicMessage basicMessage = 2; */ boolean hasBasicMessage(); /** - * required .BasicMessage basicMessage = 2; + * required .meerkat.BasicMessage basicMessage = 2; */ - ProtobufsMessages.BasicMessage getBasicMessage(); + meerkat.ProtobufsMessages.BasicMessage getBasicMessage(); /** - * required .BasicMessage basicMessage = 2; + * required .meerkat.BasicMessage basicMessage = 2; */ - ProtobufsMessages.BasicMessageOrBuilder getBasicMessageOrBuilder(); + meerkat.ProtobufsMessages.BasicMessageOrBuilder getBasicMessageOrBuilder(); /** * optional bytes signatures = 3; @@ -1313,11 +1315,11 @@ public final class ProtobufsMessages { com.google.protobuf.ByteString getSignatures(); } /** - * Protobuf type {@code BulletinBoardMessage} + * Protobuf type {@code meerkat.BulletinBoardMessage} */ public static final class BulletinBoardMessage extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:BulletinBoardMessage) + // @@protoc_insertion_point(message_implements:meerkat.BulletinBoardMessage) BulletinBoardMessageOrBuilder { // Use BulletinBoardMessage.newBuilder() to construct. private BulletinBoardMessage(com.google.protobuf.GeneratedMessage.Builder builder) { @@ -1366,18 +1368,18 @@ public final class ProtobufsMessages { } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - tag_ = new java.util.ArrayList(); + tag_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } - tag_.add(input.readMessage(ProtobufsMessages.Tag.PARSER, extensionRegistry)); + tag_.add(input.readMessage(meerkat.ProtobufsMessages.Tag.PARSER, extensionRegistry)); break; } case 18: { - ProtobufsMessages.BasicMessage.Builder subBuilder = null; + meerkat.ProtobufsMessages.BasicMessage.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = basicMessage_.toBuilder(); } - basicMessage_ = input.readMessage(ProtobufsMessages.BasicMessage.PARSER, extensionRegistry); + basicMessage_ = input.readMessage(meerkat.ProtobufsMessages.BasicMessage.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(basicMessage_); basicMessage_ = subBuilder.buildPartial(); @@ -1407,14 +1409,14 @@ public final class ProtobufsMessages { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return ProtobufsMessages.internal_static_BulletinBoardMessage_descriptor; + return meerkat.ProtobufsMessages.internal_static_meerkat_BulletinBoardMessage_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return ProtobufsMessages.internal_static_BulletinBoardMessage_fieldAccessorTable + return meerkat.ProtobufsMessages.internal_static_meerkat_BulletinBoardMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - ProtobufsMessages.BulletinBoardMessage.class, ProtobufsMessages.BulletinBoardMessage.Builder.class); + meerkat.ProtobufsMessages.BulletinBoardMessage.class, meerkat.ProtobufsMessages.BulletinBoardMessage.Builder.class); } public static com.google.protobuf.Parser PARSER = @@ -1434,58 +1436,58 @@ public final class ProtobufsMessages { private int bitField0_; public static final int TAG_FIELD_NUMBER = 1; - private java.util.List tag_; + private java.util.List tag_; /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public java.util.List getTagList() { + public java.util.List getTagList() { return tag_; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public java.util.List + public java.util.List getTagOrBuilderList() { return tag_; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public int getTagCount() { return tag_.size(); } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public ProtobufsMessages.Tag getTag(int index) { + public meerkat.ProtobufsMessages.Tag getTag(int index) { return tag_.get(index); } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public ProtobufsMessages.TagOrBuilder getTagOrBuilder( + public meerkat.ProtobufsMessages.TagOrBuilder getTagOrBuilder( int index) { return tag_.get(index); } public static final int BASICMESSAGE_FIELD_NUMBER = 2; - private ProtobufsMessages.BasicMessage basicMessage_; + private meerkat.ProtobufsMessages.BasicMessage basicMessage_; /** - * required .BasicMessage basicMessage = 2; + * required .meerkat.BasicMessage basicMessage = 2; */ public boolean hasBasicMessage() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required .BasicMessage basicMessage = 2; + * required .meerkat.BasicMessage basicMessage = 2; */ - public ProtobufsMessages.BasicMessage getBasicMessage() { + public meerkat.ProtobufsMessages.BasicMessage getBasicMessage() { return basicMessage_; } /** - * required .BasicMessage basicMessage = 2; + * required .meerkat.BasicMessage basicMessage = 2; */ - public ProtobufsMessages.BasicMessageOrBuilder getBasicMessageOrBuilder() { + public meerkat.ProtobufsMessages.BasicMessageOrBuilder getBasicMessageOrBuilder() { return basicMessage_; } @@ -1506,7 +1508,7 @@ public final class ProtobufsMessages { private void initFields() { tag_ = java.util.Collections.emptyList(); - basicMessage_ = ProtobufsMessages.BasicMessage.getDefaultInstance(); + basicMessage_ = meerkat.ProtobufsMessages.BasicMessage.getDefaultInstance(); signatures_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; @@ -1578,53 +1580,53 @@ public final class ProtobufsMessages { return super.writeReplace(); } - public static ProtobufsMessages.BulletinBoardMessage parseFrom( + public static meerkat.ProtobufsMessages.BulletinBoardMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static ProtobufsMessages.BulletinBoardMessage parseFrom( + public static meerkat.ProtobufsMessages.BulletinBoardMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static ProtobufsMessages.BulletinBoardMessage parseFrom(byte[] data) + public static meerkat.ProtobufsMessages.BulletinBoardMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static ProtobufsMessages.BulletinBoardMessage parseFrom( + public static meerkat.ProtobufsMessages.BulletinBoardMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static ProtobufsMessages.BulletinBoardMessage parseFrom(java.io.InputStream input) + public static meerkat.ProtobufsMessages.BulletinBoardMessage parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static ProtobufsMessages.BulletinBoardMessage parseFrom( + public static meerkat.ProtobufsMessages.BulletinBoardMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } - public static ProtobufsMessages.BulletinBoardMessage parseDelimitedFrom(java.io.InputStream input) + public static meerkat.ProtobufsMessages.BulletinBoardMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } - public static ProtobufsMessages.BulletinBoardMessage parseDelimitedFrom( + public static meerkat.ProtobufsMessages.BulletinBoardMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static ProtobufsMessages.BulletinBoardMessage parseFrom( + public static meerkat.ProtobufsMessages.BulletinBoardMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } - public static ProtobufsMessages.BulletinBoardMessage parseFrom( + public static meerkat.ProtobufsMessages.BulletinBoardMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -1633,7 +1635,7 @@ public final class ProtobufsMessages { public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(ProtobufsMessages.BulletinBoardMessage prototype) { + public static Builder newBuilder(meerkat.ProtobufsMessages.BulletinBoardMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @@ -1645,25 +1647,25 @@ public final class ProtobufsMessages { return builder; } /** - * Protobuf type {@code BulletinBoardMessage} + * Protobuf type {@code meerkat.BulletinBoardMessage} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:BulletinBoardMessage) - ProtobufsMessages.BulletinBoardMessageOrBuilder { + // @@protoc_insertion_point(builder_implements:meerkat.BulletinBoardMessage) + meerkat.ProtobufsMessages.BulletinBoardMessageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return ProtobufsMessages.internal_static_BulletinBoardMessage_descriptor; + return meerkat.ProtobufsMessages.internal_static_meerkat_BulletinBoardMessage_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return ProtobufsMessages.internal_static_BulletinBoardMessage_fieldAccessorTable + return meerkat.ProtobufsMessages.internal_static_meerkat_BulletinBoardMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - ProtobufsMessages.BulletinBoardMessage.class, ProtobufsMessages.BulletinBoardMessage.Builder.class); + meerkat.ProtobufsMessages.BulletinBoardMessage.class, meerkat.ProtobufsMessages.BulletinBoardMessage.Builder.class); } - // Construct using ProtobufsMessages.BulletinBoardMessage.newBuilder() + // Construct using meerkat.ProtobufsMessages.BulletinBoardMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -1692,7 +1694,7 @@ public final class ProtobufsMessages { tagBuilder_.clear(); } if (basicMessageBuilder_ == null) { - basicMessage_ = ProtobufsMessages.BasicMessage.getDefaultInstance(); + basicMessage_ = meerkat.ProtobufsMessages.BasicMessage.getDefaultInstance(); } else { basicMessageBuilder_.clear(); } @@ -1708,23 +1710,23 @@ public final class ProtobufsMessages { public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return ProtobufsMessages.internal_static_BulletinBoardMessage_descriptor; + return meerkat.ProtobufsMessages.internal_static_meerkat_BulletinBoardMessage_descriptor; } - public ProtobufsMessages.BulletinBoardMessage getDefaultInstanceForType() { - return ProtobufsMessages.BulletinBoardMessage.getDefaultInstance(); + public meerkat.ProtobufsMessages.BulletinBoardMessage getDefaultInstanceForType() { + return meerkat.ProtobufsMessages.BulletinBoardMessage.getDefaultInstance(); } - public ProtobufsMessages.BulletinBoardMessage build() { - ProtobufsMessages.BulletinBoardMessage result = buildPartial(); + public meerkat.ProtobufsMessages.BulletinBoardMessage build() { + meerkat.ProtobufsMessages.BulletinBoardMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public ProtobufsMessages.BulletinBoardMessage buildPartial() { - ProtobufsMessages.BulletinBoardMessage result = new ProtobufsMessages.BulletinBoardMessage(this); + public meerkat.ProtobufsMessages.BulletinBoardMessage buildPartial() { + meerkat.ProtobufsMessages.BulletinBoardMessage result = new meerkat.ProtobufsMessages.BulletinBoardMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (tagBuilder_ == null) { @@ -1754,16 +1756,16 @@ public final class ProtobufsMessages { } public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof ProtobufsMessages.BulletinBoardMessage) { - return mergeFrom((ProtobufsMessages.BulletinBoardMessage)other); + if (other instanceof meerkat.ProtobufsMessages.BulletinBoardMessage) { + return mergeFrom((meerkat.ProtobufsMessages.BulletinBoardMessage)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(ProtobufsMessages.BulletinBoardMessage other) { - if (other == ProtobufsMessages.BulletinBoardMessage.getDefaultInstance()) return this; + public Builder mergeFrom(meerkat.ProtobufsMessages.BulletinBoardMessage other) { + if (other == meerkat.ProtobufsMessages.BulletinBoardMessage.getDefaultInstance()) return this; if (tagBuilder_ == null) { if (!other.tag_.isEmpty()) { if (tag_.isEmpty()) { @@ -1822,11 +1824,11 @@ public final class ProtobufsMessages { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - ProtobufsMessages.BulletinBoardMessage parsedMessage = null; + meerkat.ProtobufsMessages.BulletinBoardMessage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (ProtobufsMessages.BulletinBoardMessage) e.getUnfinishedMessage(); + parsedMessage = (meerkat.ProtobufsMessages.BulletinBoardMessage) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { @@ -1837,22 +1839,22 @@ public final class ProtobufsMessages { } private int bitField0_; - private java.util.List tag_ = + private java.util.List tag_ = java.util.Collections.emptyList(); private void ensureTagIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { - tag_ = new java.util.ArrayList(tag_); + tag_ = new java.util.ArrayList(tag_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< - ProtobufsMessages.Tag, ProtobufsMessages.Tag.Builder, ProtobufsMessages.TagOrBuilder> tagBuilder_; + meerkat.ProtobufsMessages.Tag, meerkat.ProtobufsMessages.Tag.Builder, meerkat.ProtobufsMessages.TagOrBuilder> tagBuilder_; /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public java.util.List getTagList() { + public java.util.List getTagList() { if (tagBuilder_ == null) { return java.util.Collections.unmodifiableList(tag_); } else { @@ -1860,7 +1862,7 @@ public final class ProtobufsMessages { } } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public int getTagCount() { if (tagBuilder_ == null) { @@ -1870,9 +1872,9 @@ public final class ProtobufsMessages { } } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public ProtobufsMessages.Tag getTag(int index) { + public meerkat.ProtobufsMessages.Tag getTag(int index) { if (tagBuilder_ == null) { return tag_.get(index); } else { @@ -1880,10 +1882,10 @@ public final class ProtobufsMessages { } } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public Builder setTag( - int index, ProtobufsMessages.Tag value) { + int index, meerkat.ProtobufsMessages.Tag value) { if (tagBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1897,10 +1899,10 @@ public final class ProtobufsMessages { return this; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public Builder setTag( - int index, ProtobufsMessages.Tag.Builder builderForValue) { + int index, meerkat.ProtobufsMessages.Tag.Builder builderForValue) { if (tagBuilder_ == null) { ensureTagIsMutable(); tag_.set(index, builderForValue.build()); @@ -1911,9 +1913,9 @@ public final class ProtobufsMessages { return this; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public Builder addTag(ProtobufsMessages.Tag value) { + public Builder addTag(meerkat.ProtobufsMessages.Tag value) { if (tagBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1927,10 +1929,10 @@ public final class ProtobufsMessages { return this; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public Builder addTag( - int index, ProtobufsMessages.Tag value) { + int index, meerkat.ProtobufsMessages.Tag value) { if (tagBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1944,10 +1946,10 @@ public final class ProtobufsMessages { return this; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public Builder addTag( - ProtobufsMessages.Tag.Builder builderForValue) { + meerkat.ProtobufsMessages.Tag.Builder builderForValue) { if (tagBuilder_ == null) { ensureTagIsMutable(); tag_.add(builderForValue.build()); @@ -1958,10 +1960,10 @@ public final class ProtobufsMessages { return this; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public Builder addTag( - int index, ProtobufsMessages.Tag.Builder builderForValue) { + int index, meerkat.ProtobufsMessages.Tag.Builder builderForValue) { if (tagBuilder_ == null) { ensureTagIsMutable(); tag_.add(index, builderForValue.build()); @@ -1972,10 +1974,10 @@ public final class ProtobufsMessages { return this; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public Builder addAllTag( - java.lang.Iterable values) { + java.lang.Iterable values) { if (tagBuilder_ == null) { ensureTagIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -1987,7 +1989,7 @@ public final class ProtobufsMessages { return this; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public Builder clearTag() { if (tagBuilder_ == null) { @@ -2000,7 +2002,7 @@ public final class ProtobufsMessages { return this; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ public Builder removeTag(int index) { if (tagBuilder_ == null) { @@ -2013,16 +2015,16 @@ public final class ProtobufsMessages { return this; } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public ProtobufsMessages.Tag.Builder getTagBuilder( + public meerkat.ProtobufsMessages.Tag.Builder getTagBuilder( int index) { return getTagFieldBuilder().getBuilder(index); } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public ProtobufsMessages.TagOrBuilder getTagOrBuilder( + public meerkat.ProtobufsMessages.TagOrBuilder getTagOrBuilder( int index) { if (tagBuilder_ == null) { return tag_.get(index); } else { @@ -2030,9 +2032,9 @@ public final class ProtobufsMessages { } } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public java.util.List + public java.util.List getTagOrBuilderList() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilderList(); @@ -2041,33 +2043,33 @@ public final class ProtobufsMessages { } } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public ProtobufsMessages.Tag.Builder addTagBuilder() { + public meerkat.ProtobufsMessages.Tag.Builder addTagBuilder() { return getTagFieldBuilder().addBuilder( - ProtobufsMessages.Tag.getDefaultInstance()); + meerkat.ProtobufsMessages.Tag.getDefaultInstance()); } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public ProtobufsMessages.Tag.Builder addTagBuilder( + public meerkat.ProtobufsMessages.Tag.Builder addTagBuilder( int index) { return getTagFieldBuilder().addBuilder( - index, ProtobufsMessages.Tag.getDefaultInstance()); + index, meerkat.ProtobufsMessages.Tag.getDefaultInstance()); } /** - * repeated .Tag tag = 1; + * repeated .meerkat.Tag tag = 1; */ - public java.util.List + public java.util.List getTagBuilderList() { return getTagFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< - ProtobufsMessages.Tag, ProtobufsMessages.Tag.Builder, ProtobufsMessages.TagOrBuilder> + meerkat.ProtobufsMessages.Tag, meerkat.ProtobufsMessages.Tag.Builder, meerkat.ProtobufsMessages.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { tagBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - ProtobufsMessages.Tag, ProtobufsMessages.Tag.Builder, ProtobufsMessages.TagOrBuilder>( + meerkat.ProtobufsMessages.Tag, meerkat.ProtobufsMessages.Tag.Builder, meerkat.ProtobufsMessages.TagOrBuilder>( tag_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), @@ -2077,19 +2079,19 @@ public final class ProtobufsMessages { return tagBuilder_; } - private ProtobufsMessages.BasicMessage basicMessage_ = ProtobufsMessages.BasicMessage.getDefaultInstance(); + private meerkat.ProtobufsMessages.BasicMessage basicMessage_ = meerkat.ProtobufsMessages.BasicMessage.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< - ProtobufsMessages.BasicMessage, ProtobufsMessages.BasicMessage.Builder, ProtobufsMessages.BasicMessageOrBuilder> basicMessageBuilder_; + meerkat.ProtobufsMessages.BasicMessage, meerkat.ProtobufsMessages.BasicMessage.Builder, meerkat.ProtobufsMessages.BasicMessageOrBuilder> basicMessageBuilder_; /** - * required .BasicMessage basicMessage = 2; + * required .meerkat.BasicMessage basicMessage = 2; */ public boolean hasBasicMessage() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * required .BasicMessage basicMessage = 2; + * required .meerkat.BasicMessage basicMessage = 2; */ - public ProtobufsMessages.BasicMessage getBasicMessage() { + public meerkat.ProtobufsMessages.BasicMessage getBasicMessage() { if (basicMessageBuilder_ == null) { return basicMessage_; } else { @@ -2097,9 +2099,9 @@ public final class ProtobufsMessages { } } /** - * required .BasicMessage basicMessage = 2; + * required .meerkat.BasicMessage basicMessage = 2; */ - public Builder setBasicMessage(ProtobufsMessages.BasicMessage value) { + public Builder setBasicMessage(meerkat.ProtobufsMessages.BasicMessage value) { if (basicMessageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2113,10 +2115,10 @@ public final class ProtobufsMessages { return this; } /** - * required .BasicMessage basicMessage = 2; + * required .meerkat.BasicMessage basicMessage = 2; */ public Builder setBasicMessage( - ProtobufsMessages.BasicMessage.Builder builderForValue) { + meerkat.ProtobufsMessages.BasicMessage.Builder builderForValue) { if (basicMessageBuilder_ == null) { basicMessage_ = builderForValue.build(); onChanged(); @@ -2127,14 +2129,14 @@ public final class ProtobufsMessages { return this; } /** - * required .BasicMessage basicMessage = 2; + * required .meerkat.BasicMessage basicMessage = 2; */ - public Builder mergeBasicMessage(ProtobufsMessages.BasicMessage value) { + public Builder mergeBasicMessage(meerkat.ProtobufsMessages.BasicMessage value) { if (basicMessageBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && - basicMessage_ != ProtobufsMessages.BasicMessage.getDefaultInstance()) { + basicMessage_ != meerkat.ProtobufsMessages.BasicMessage.getDefaultInstance()) { basicMessage_ = - ProtobufsMessages.BasicMessage.newBuilder(basicMessage_).mergeFrom(value).buildPartial(); + meerkat.ProtobufsMessages.BasicMessage.newBuilder(basicMessage_).mergeFrom(value).buildPartial(); } else { basicMessage_ = value; } @@ -2146,11 +2148,11 @@ public final class ProtobufsMessages { return this; } /** - * required .BasicMessage basicMessage = 2; + * required .meerkat.BasicMessage basicMessage = 2; */ public Builder clearBasicMessage() { if (basicMessageBuilder_ == null) { - basicMessage_ = ProtobufsMessages.BasicMessage.getDefaultInstance(); + basicMessage_ = meerkat.ProtobufsMessages.BasicMessage.getDefaultInstance(); onChanged(); } else { basicMessageBuilder_.clear(); @@ -2159,17 +2161,17 @@ public final class ProtobufsMessages { return this; } /** - * required .BasicMessage basicMessage = 2; + * required .meerkat.BasicMessage basicMessage = 2; */ - public ProtobufsMessages.BasicMessage.Builder getBasicMessageBuilder() { + public meerkat.ProtobufsMessages.BasicMessage.Builder getBasicMessageBuilder() { bitField0_ |= 0x00000002; onChanged(); return getBasicMessageFieldBuilder().getBuilder(); } /** - * required .BasicMessage basicMessage = 2; + * required .meerkat.BasicMessage basicMessage = 2; */ - public ProtobufsMessages.BasicMessageOrBuilder getBasicMessageOrBuilder() { + public meerkat.ProtobufsMessages.BasicMessageOrBuilder getBasicMessageOrBuilder() { if (basicMessageBuilder_ != null) { return basicMessageBuilder_.getMessageOrBuilder(); } else { @@ -2177,14 +2179,14 @@ public final class ProtobufsMessages { } } /** - * required .BasicMessage basicMessage = 2; + * required .meerkat.BasicMessage basicMessage = 2; */ private com.google.protobuf.SingleFieldBuilder< - ProtobufsMessages.BasicMessage, ProtobufsMessages.BasicMessage.Builder, ProtobufsMessages.BasicMessageOrBuilder> + meerkat.ProtobufsMessages.BasicMessage, meerkat.ProtobufsMessages.BasicMessage.Builder, meerkat.ProtobufsMessages.BasicMessageOrBuilder> getBasicMessageFieldBuilder() { if (basicMessageBuilder_ == null) { basicMessageBuilder_ = new com.google.protobuf.SingleFieldBuilder< - ProtobufsMessages.BasicMessage, ProtobufsMessages.BasicMessage.Builder, ProtobufsMessages.BasicMessageOrBuilder>( + meerkat.ProtobufsMessages.BasicMessage, meerkat.ProtobufsMessages.BasicMessage.Builder, meerkat.ProtobufsMessages.BasicMessageOrBuilder>( getBasicMessage(), getParentForChildren(), isClean()); @@ -2228,7 +2230,7 @@ public final class ProtobufsMessages { return this; } - // @@protoc_insertion_point(builder_scope:BulletinBoardMessage) + // @@protoc_insertion_point(builder_scope:meerkat.BulletinBoardMessage) } static { @@ -2236,24 +2238,24 @@ public final class ProtobufsMessages { defaultInstance.initFields(); } - // @@protoc_insertion_point(class_scope:BulletinBoardMessage) + // @@protoc_insertion_point(class_scope:meerkat.BulletinBoardMessage) } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_Tag_descriptor; + internal_static_meerkat_Tag_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_Tag_fieldAccessorTable; + internal_static_meerkat_Tag_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_BasicMessage_descriptor; + internal_static_meerkat_BasicMessage_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_BasicMessage_fieldAccessorTable; + internal_static_meerkat_BasicMessage_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_BulletinBoardMessage_descriptor; + internal_static_meerkat_BulletinBoardMessage_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_BulletinBoardMessage_fieldAccessorTable; + internal_static_meerkat_BulletinBoardMessage_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -2263,12 +2265,13 @@ public final class ProtobufsMessages { descriptor; static { java.lang.String[] descriptorData = { - "\n\027ProtobufsMessages.proto\"\026\n\003Tag\022\017\n\007cont" + - "ent\030\001 \002(\t\"/\n\014BasicMessage\022\021\n\003tag\030\001 \003(\0132\004" + - ".Tag\022\014\n\004data\030\002 \001(\014\"b\n\024BulletinBoardMessa" + - "ge\022\021\n\003tag\030\001 \003(\0132\004.Tag\022#\n\014basicMessage\030\002 " + - "\002(\0132\r.BasicMessage\022\022\n\nsignatures\030\003 \001(\014B\023" + - "B\021ProtobufsMessages" + "\n\027ProtobufsMessages.proto\022\007meerkat\"\026\n\003Ta" + + "g\022\017\n\007content\030\001 \002(\t\"7\n\014BasicMessage\022\031\n\003ta" + + "g\030\001 \003(\0132\014.meerkat.Tag\022\014\n\004data\030\002 \001(\014\"r\n\024B" + + "ulletinBoardMessage\022\031\n\003tag\030\001 \003(\0132\014.meerk" + + "at.Tag\022+\n\014basicMessage\030\002 \002(\0132\025.meerkat.B" + + "asicMessage\022\022\n\nsignatures\030\003 \001(\014B\023B\021Proto" + + "bufsMessages" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -2282,23 +2285,23 @@ public final class ProtobufsMessages { .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); - internal_static_Tag_descriptor = + internal_static_meerkat_Tag_descriptor = getDescriptor().getMessageTypes().get(0); - internal_static_Tag_fieldAccessorTable = new + internal_static_meerkat_Tag_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_Tag_descriptor, + internal_static_meerkat_Tag_descriptor, new java.lang.String[] { "Content", }); - internal_static_BasicMessage_descriptor = + internal_static_meerkat_BasicMessage_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_BasicMessage_fieldAccessorTable = new + internal_static_meerkat_BasicMessage_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_BasicMessage_descriptor, + internal_static_meerkat_BasicMessage_descriptor, new java.lang.String[] { "Tag", "Data", }); - internal_static_BulletinBoardMessage_descriptor = + internal_static_meerkat_BulletinBoardMessage_descriptor = getDescriptor().getMessageTypes().get(2); - internal_static_BulletinBoardMessage_fieldAccessorTable = new + internal_static_meerkat_BulletinBoardMessage_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_BulletinBoardMessage_descriptor, + internal_static_meerkat_BulletinBoardMessage_descriptor, new java.lang.String[] { "Tag", "BasicMessage", "Signatures", }); } diff --git a/voter-registry/src/main/java/meerkat/Registry.java b/voter-registry/src/main/java/meerkat/Registry.java index 2fc03a1..d048846 100644 --- a/voter-registry/src/main/java/meerkat/Registry.java +++ b/voter-registry/src/main/java/meerkat/Registry.java @@ -1,6 +1,5 @@ package meerkat; - -import +import meerkat.ProtobufsMessages.*; /** * Created by Vladimir Eliezer Tokarev on 1/8/2016.