upgrade to protobuf 2.4.1 (from protobuf 2.3.x) #63

Closed
wants to merge 13 commits into
from
View
2 .classpath
@@ -39,7 +39,6 @@
<classpathentry kind="lib" path="lib/commons-logging-1.1.1.jar"/>
<classpathentry kind="lib" path="lib/jline-0.9.94.jar"/>
<classpathentry kind="lib" path="lib/commons-pool-1.5.2.jar"/>
- <classpathentry kind="lib" path="lib/protobuf-java-2.3.0.jar"/>
<classpathentry kind="lib" path="contrib/ec2-testing/lib/typica.jar"/>
<classpathentry kind="lib" path="lib/google-collect-1.0.jar"/>
<classpathentry kind="lib" path="lib/je-4.0.92.jar"/>
@@ -53,5 +52,6 @@
<classpathentry kind="lib" path="lib/libthrift-0.5.0.jar"/>
<classpathentry kind="lib" path="lib/compress-lzf-0.9.1.jar"/>
<classpathentry kind="lib" path="lib/snappy-0.2.jar"/>
+ <classpathentry kind="lib" path="lib/protobuf-java-2.4.1.jar"/>
<classpathentry kind="output" path="classes"/>
</classpath>
View
BIN lib/protobuf-java-2.3.0.jar
Binary file not shown.
View
BIN lib/protobuf-java-2.4.1.jar
Binary file not shown.
View
22,224 src/java/voldemort/client/protocol/pb/VAdminProto.java
17,161 additions, 5,063 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
6,154 src/java/voldemort/client/protocol/pb/VProto.java
4,751 additions, 1,403 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
472 src/java/voldemort/serialization/VSlopProto.java
@@ -8,11 +8,39 @@ private VSlopProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
+ public interface SlopOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // optional string store = 1;
+ boolean hasStore();
+ String getStore();
+
+ // optional string operation = 2;
+ boolean hasOperation();
+ String getOperation();
+
+ // optional bytes key = 3;
+ boolean hasKey();
+ com.google.protobuf.ByteString getKey();
+
+ // optional bytes value = 4;
+ boolean hasValue();
+ com.google.protobuf.ByteString getValue();
+
+ // optional int32 node_id = 5;
+ boolean hasNodeId();
+ int getNodeId();
+
+ // optional int64 arrived = 6;
+ boolean hasArrived();
+ long getArrived();
+ }
public static final class Slop extends
- com.google.protobuf.GeneratedMessage {
+ com.google.protobuf.GeneratedMessage
+ implements SlopOrBuilder {
// Use Slop.newBuilder() to construct.
- private Slop() {
- initFields();
+ private Slop(Builder builder) {
+ super(builder);
}
private Slop(boolean noInit) {}
@@ -35,74 +63,148 @@ public Slop getDefaultInstanceForType() {
return voldemort.serialization.VSlopProto.internal_static_voldemort_Slop_fieldAccessorTable;
}
+ private int bitField0_;
// optional string store = 1;
public static final int STORE_FIELD_NUMBER = 1;
- private boolean hasStore;
- private java.lang.String store_ = "";
- public boolean hasStore() { return hasStore; }
- public java.lang.String getStore() { return store_; }
+ private java.lang.Object store_;
+ public boolean hasStore() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ public String getStore() {
+ java.lang.Object ref = store_;
+ if (ref instanceof String) {
+ return (String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ String s = bs.toStringUtf8();
+ if (com.google.protobuf.Internal.isValidUtf8(bs)) {
+ store_ = s;
+ }
+ return s;
+ }
+ }
+ private com.google.protobuf.ByteString getStoreBytes() {
+ java.lang.Object ref = store_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((String) ref);
+ store_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
// optional string operation = 2;
public static final int OPERATION_FIELD_NUMBER = 2;
- private boolean hasOperation;
- private java.lang.String operation_ = "";
- public boolean hasOperation() { return hasOperation; }
- public java.lang.String getOperation() { return operation_; }
+ private java.lang.Object operation_;
+ public boolean hasOperation() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ public String getOperation() {
+ java.lang.Object ref = operation_;
+ if (ref instanceof String) {
+ return (String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ String s = bs.toStringUtf8();
+ if (com.google.protobuf.Internal.isValidUtf8(bs)) {
+ operation_ = s;
+ }
+ return s;
+ }
+ }
+ private com.google.protobuf.ByteString getOperationBytes() {
+ java.lang.Object ref = operation_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((String) ref);
+ operation_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
// optional bytes key = 3;
public static final int KEY_FIELD_NUMBER = 3;
- private boolean hasKey;
- private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
- public boolean hasKey() { return hasKey; }
- public com.google.protobuf.ByteString getKey() { return key_; }
+ private com.google.protobuf.ByteString key_;
+ public boolean hasKey() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ public com.google.protobuf.ByteString getKey() {
+ return key_;
+ }
// optional bytes value = 4;
public static final int VALUE_FIELD_NUMBER = 4;
- private boolean hasValue;
- private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
- public boolean hasValue() { return hasValue; }
- public com.google.protobuf.ByteString getValue() { return value_; }
+ private com.google.protobuf.ByteString value_;
+ public boolean hasValue() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ public com.google.protobuf.ByteString getValue() {
+ return value_;
+ }
// optional int32 node_id = 5;
public static final int NODE_ID_FIELD_NUMBER = 5;
- private boolean hasNodeId;
- private int nodeId_ = 0;
- public boolean hasNodeId() { return hasNodeId; }
- public int getNodeId() { return nodeId_; }
+ private int nodeId_;
+ public boolean hasNodeId() {
+ return ((bitField0_ & 0x00000010) == 0x00000010);
+ }
+ public int getNodeId() {
+ return nodeId_;
+ }
// optional int64 arrived = 6;
public static final int ARRIVED_FIELD_NUMBER = 6;
- private boolean hasArrived;
- private long arrived_ = 0L;
- public boolean hasArrived() { return hasArrived; }
- public long getArrived() { return arrived_; }
+ private long arrived_;
+ public boolean hasArrived() {
+ return ((bitField0_ & 0x00000020) == 0x00000020);
+ }
+ public long getArrived() {
+ return arrived_;
+ }
private void initFields() {
+ store_ = "";
+ operation_ = "";
+ key_ = com.google.protobuf.ByteString.EMPTY;
+ value_ = com.google.protobuf.ByteString.EMPTY;
+ nodeId_ = 0;
+ arrived_ = 0L;
}
+ private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
- if (hasStore()) {
- output.writeString(1, getStore());
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeBytes(1, getStoreBytes());
}
- if (hasOperation()) {
- output.writeString(2, getOperation());
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeBytes(2, getOperationBytes());
}
- if (hasKey()) {
- output.writeBytes(3, getKey());
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeBytes(3, key_);
}
- if (hasValue()) {
- output.writeBytes(4, getValue());
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeBytes(4, value_);
}
- if (hasNodeId()) {
- output.writeInt32(5, getNodeId());
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ output.writeInt32(5, nodeId_);
}
- if (hasArrived()) {
- output.writeInt64(6, getArrived());
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ output.writeInt64(6, arrived_);
}
getUnknownFields().writeTo(output);
}
@@ -113,35 +215,42 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (hasStore()) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
- .computeStringSize(1, getStore());
+ .computeBytesSize(1, getStoreBytes());
}
- if (hasOperation()) {
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
- .computeStringSize(2, getOperation());
+ .computeBytesSize(2, getOperationBytes());
}
- if (hasKey()) {
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, getKey());
+ .computeBytesSize(3, key_);
}
- if (hasValue()) {
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(4, getValue());
+ .computeBytesSize(4, value_);
}
- if (hasNodeId()) {
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(5, getNodeId());
+ .computeInt32Size(5, nodeId_);
}
- if (hasArrived()) {
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(6, getArrived());
+ .computeInt64Size(6, arrived_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
public static voldemort.serialization.VSlopProto.Slop parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -216,34 +325,61 @@ public static Builder newBuilder(voldemort.serialization.VSlopProto.Slop prototy
}
public Builder toBuilder() { return newBuilder(this); }
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private voldemort.serialization.VSlopProto.Slop result;
+ com.google.protobuf.GeneratedMessage.Builder<Builder>
+ implements voldemort.serialization.VSlopProto.SlopOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return voldemort.serialization.VSlopProto.internal_static_voldemort_Slop_descriptor;
+ }
- // Construct using voldemort.serialization.VSlopProto.Slop.newBuilder()
- private Builder() {}
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return voldemort.serialization.VSlopProto.internal_static_voldemort_Slop_fieldAccessorTable;
+ }
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new voldemort.serialization.VSlopProto.Slop();
- return builder;
+ // Construct using voldemort.serialization.VSlopProto.Slop.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
}
- protected voldemort.serialization.VSlopProto.Slop internalGetResult() {
- return result;
+ private Builder(BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ }
+ }
+ private static Builder create() {
+ return new Builder();
}
public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new voldemort.serialization.VSlopProto.Slop();
+ super.clear();
+ store_ = "";
+ bitField0_ = (bitField0_ & ~0x00000001);
+ operation_ = "";
+ bitField0_ = (bitField0_ & ~0x00000002);
+ key_ = com.google.protobuf.ByteString.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ value_ = com.google.protobuf.ByteString.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ nodeId_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ arrived_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
public Builder clone() {
- return create().mergeFrom(result);
+ return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
@@ -255,33 +391,55 @@ public Builder clone() {
return voldemort.serialization.VSlopProto.Slop.getDefaultInstance();
}
- public boolean isInitialized() {
- return result.isInitialized();
- }
public voldemort.serialization.VSlopProto.Slop build() {
- if (result != null && !isInitialized()) {
+ voldemort.serialization.VSlopProto.Slop result = buildPartial();
+ if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
- return buildPartial();
+ return result;
}
private voldemort.serialization.VSlopProto.Slop buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
+ voldemort.serialization.VSlopProto.Slop result = buildPartial();
+ if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
- return buildPartial();
+ return result;
}
public voldemort.serialization.VSlopProto.Slop buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
+ voldemort.serialization.VSlopProto.Slop result = new voldemort.serialization.VSlopProto.Slop(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ result.store_ = store_;
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.operation_ = operation_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.key_ = key_;
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ result.value_ = value_;
+ if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
+ to_bitField0_ |= 0x00000010;
}
- voldemort.serialization.VSlopProto.Slop returnMe = result;
- result = null;
- return returnMe;
+ result.nodeId_ = nodeId_;
+ if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
+ to_bitField0_ |= 0x00000020;
+ }
+ result.arrived_ = arrived_;
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
@@ -317,6 +475,10 @@ public Builder mergeFrom(voldemort.serialization.VSlopProto.Slop other) {
return this;
}
+ public final boolean isInitialized() {
+ return true;
+ }
+
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -329,161 +491,212 @@ public Builder mergeFrom(
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
+ onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
+ onChanged();
return this;
}
break;
}
case 10: {
- setStore(input.readString());
+ bitField0_ |= 0x00000001;
+ store_ = input.readBytes();
break;
}
case 18: {
- setOperation(input.readString());
+ bitField0_ |= 0x00000002;
+ operation_ = input.readBytes();
break;
}
case 26: {
- setKey(input.readBytes());
+ bitField0_ |= 0x00000004;
+ key_ = input.readBytes();
break;
}
case 34: {
- setValue(input.readBytes());
+ bitField0_ |= 0x00000008;
+ value_ = input.readBytes();
break;
}
case 40: {
- setNodeId(input.readInt32());
+ bitField0_ |= 0x00000010;
+ nodeId_ = input.readInt32();
break;
}
case 48: {
- setArrived(input.readInt64());
+ bitField0_ |= 0x00000020;
+ arrived_ = input.readInt64();
break;
}
}
}
}
+ private int bitField0_;
// optional string store = 1;
+ private java.lang.Object store_ = "";
public boolean hasStore() {
- return result.hasStore();
- }
- public java.lang.String getStore() {
- return result.getStore();
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ public String getStore() {
+ java.lang.Object ref = store_;
+ if (!(ref instanceof String)) {
+ String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ store_ = s;
+ return s;
+ } else {
+ return (String) ref;
+ }
}
- public Builder setStore(java.lang.String value) {
+ public Builder setStore(String value) {
if (value == null) {
throw new NullPointerException();
}
- result.hasStore = true;
- result.store_ = value;
+ bitField0_ |= 0x00000001;
+ store_ = value;
+ onChanged();
return this;
}
public Builder clearStore() {
- result.hasStore = false;
- result.store_ = getDefaultInstance().getStore();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ store_ = getDefaultInstance().getStore();
+ onChanged();
return this;
}
+ void setStore(com.google.protobuf.ByteString value) {
+ bitField0_ |= 0x00000001;
+ store_ = value;
+ onChanged();
+ }
// optional string operation = 2;
+ private java.lang.Object operation_ = "";
public boolean hasOperation() {
- return result.hasOperation();
- }
- public java.lang.String getOperation() {
- return result.getOperation();
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ public String getOperation() {
+ java.lang.Object ref = operation_;
+ if (!(ref instanceof String)) {
+ String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ operation_ = s;
+ return s;
+ } else {
+ return (String) ref;
+ }
}
- public Builder setOperation(java.lang.String value) {
+ public Builder setOperation(String value) {
if (value == null) {
throw new NullPointerException();
}
- result.hasOperation = true;
- result.operation_ = value;
+ bitField0_ |= 0x00000002;
+ operation_ = value;
+ onChanged();
return this;
}
public Builder clearOperation() {
- result.hasOperation = false;
- result.operation_ = getDefaultInstance().getOperation();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ operation_ = getDefaultInstance().getOperation();
+ onChanged();
return this;
}
+ void setOperation(com.google.protobuf.ByteString value) {
+ bitField0_ |= 0x00000002;
+ operation_ = value;
+ onChanged();
+ }
// optional bytes key = 3;
+ private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
public boolean hasKey() {
- return result.hasKey();
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
public com.google.protobuf.ByteString getKey() {
- return result.getKey();
+ return key_;
}
public Builder setKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
- result.hasKey = true;
- result.key_ = value;
+ bitField0_ |= 0x00000004;
+ key_ = value;
+ onChanged();
return this;
}
public Builder clearKey() {
- result.hasKey = false;
- result.key_ = getDefaultInstance().getKey();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ key_ = getDefaultInstance().getKey();
+ onChanged();
return this;
}
// optional bytes value = 4;
+ private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
public boolean hasValue() {
- return result.hasValue();
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
public com.google.protobuf.ByteString getValue() {
- return result.getValue();
+ return value_;
}
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
- result.hasValue = true;
- result.value_ = value;
+ bitField0_ |= 0x00000008;
+ value_ = value;
+ onChanged();
return this;
}
public Builder clearValue() {
- result.hasValue = false;
- result.value_ = getDefaultInstance().getValue();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ value_ = getDefaultInstance().getValue();
+ onChanged();
return this;
}
// optional int32 node_id = 5;
+ private int nodeId_ ;
public boolean hasNodeId() {
- return result.hasNodeId();
+ return ((bitField0_ & 0x00000010) == 0x00000010);
}
public int getNodeId() {
- return result.getNodeId();
+ return nodeId_;
}
public Builder setNodeId(int value) {
- result.hasNodeId = true;
- result.nodeId_ = value;
+ bitField0_ |= 0x00000010;
+ nodeId_ = value;
+ onChanged();
return this;
}
public Builder clearNodeId() {
- result.hasNodeId = false;
- result.nodeId_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ nodeId_ = 0;
+ onChanged();
return this;
}
// optional int64 arrived = 6;
+ private long arrived_ ;
public boolean hasArrived() {
- return result.hasArrived();
+ return ((bitField0_ & 0x00000020) == 0x00000020);
}
public long getArrived() {
- return result.getArrived();
+ return arrived_;
}
public Builder setArrived(long value) {
- result.hasArrived = true;
- result.arrived_ = value;
+ bitField0_ |= 0x00000020;
+ arrived_ = value;
+ onChanged();
return this;
}
public Builder clearArrived() {
- result.hasArrived = false;
- result.arrived_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000020);
+ arrived_ = 0L;
+ onChanged();
return this;
}
@@ -492,7 +705,6 @@ public Builder clearArrived() {
static {
defaultInstance = new Slop(true);
- voldemort.serialization.VSlopProto.internalForceInit();
defaultInstance.initFields();
}
@@ -541,7 +753,5 @@ public Builder clearArrived() {
}, assigner);
}
- public static void internalForceInit() {}
-
// @@protoc_insertion_point(outer_class_scope)
}
View
5 test/unit/voldemort/serialization/protobuf/ProtoBufSerializerTest.java
@@ -31,6 +31,10 @@ public Message getDefaultInstanceForType() {
throw new UnsupportedOperationException();
}
+ protected com.google.protobuf.Message.Builder newBuilderForType(BuilderParent parent) {
+ throw new UnsupportedOperationException();
+ }
+
public com.google.protobuf.Message.Builder toBuilder() {
throw new UnsupportedOperationException();
}
@@ -66,6 +70,7 @@ public MessageStub(byte[] bytes) {
public static MessageStub parseFrom(byte[] bytes) {
return new MessageStub(bytes);
}
+
}
public void testValidSchemaInfo() {