org.apache.tajo.rpc.test.DummyProtos Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tajo-rpc Show documentation
Show all versions of tajo-rpc Show documentation
RPC Server/Client Implementation based on Netty and Protocol Buffer
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: DummyProtos.proto
package org.apache.tajo.rpc.test;
public final class DummyProtos {
private DummyProtos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface MulRequest1OrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 x1 = 1;
/**
* required int32 x1 = 1;
*/
boolean hasX1();
/**
* required int32 x1 = 1;
*/
int getX1();
// required int32 x2 = 2;
/**
* required int32 x2 = 2;
*/
boolean hasX2();
/**
* required int32 x2 = 2;
*/
int getX2();
}
/**
* Protobuf type {@code MulRequest1}
*/
public static final class MulRequest1 extends
com.google.protobuf.GeneratedMessage
implements MulRequest1OrBuilder {
// Use MulRequest1.newBuilder() to construct.
private MulRequest1(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private MulRequest1(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final MulRequest1 defaultInstance;
public static MulRequest1 getDefaultInstance() {
return defaultInstance;
}
public MulRequest1 getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MulRequest1(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
x1_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
x2_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_MulRequest1_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_MulRequest1_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.tajo.rpc.test.DummyProtos.MulRequest1.class, org.apache.tajo.rpc.test.DummyProtos.MulRequest1.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public MulRequest1 parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MulRequest1(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 x1 = 1;
public static final int X1_FIELD_NUMBER = 1;
private int x1_;
/**
* required int32 x1 = 1;
*/
public boolean hasX1() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 x1 = 1;
*/
public int getX1() {
return x1_;
}
// required int32 x2 = 2;
public static final int X2_FIELD_NUMBER = 2;
private int x2_;
/**
* required int32 x2 = 2;
*/
public boolean hasX2() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 x2 = 2;
*/
public int getX2() {
return x2_;
}
private void initFields() {
x1_ = 0;
x2_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasX1()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasX2()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, x1_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, x2_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, x1_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, x2_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.tajo.rpc.test.DummyProtos.MulRequest1)) {
return super.equals(obj);
}
org.apache.tajo.rpc.test.DummyProtos.MulRequest1 other = (org.apache.tajo.rpc.test.DummyProtos.MulRequest1) obj;
boolean result = true;
result = result && (hasX1() == other.hasX1());
if (hasX1()) {
result = result && (getX1()
== other.getX1());
}
result = result && (hasX2() == other.hasX2());
if (hasX2()) {
result = result && (getX2()
== other.getX2());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasX1()) {
hash = (37 * hash) + X1_FIELD_NUMBER;
hash = (53 * hash) + getX1();
}
if (hasX2()) {
hash = (37 * hash) + X2_FIELD_NUMBER;
hash = (53 * hash) + getX2();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest1 parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest1 parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest1 parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest1 parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest1 parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest1 parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest1 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest1 parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest1 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest1 parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.tajo.rpc.test.DummyProtos.MulRequest1 prototype) {
return newBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code MulRequest1}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.tajo.rpc.test.DummyProtos.MulRequest1OrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_MulRequest1_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_MulRequest1_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.tajo.rpc.test.DummyProtos.MulRequest1.class, org.apache.tajo.rpc.test.DummyProtos.MulRequest1.Builder.class);
}
// Construct using org.apache.tajo.rpc.test.DummyProtos.MulRequest1.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
x1_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
x2_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_MulRequest1_descriptor;
}
public org.apache.tajo.rpc.test.DummyProtos.MulRequest1 getDefaultInstanceForType() {
return org.apache.tajo.rpc.test.DummyProtos.MulRequest1.getDefaultInstance();
}
public org.apache.tajo.rpc.test.DummyProtos.MulRequest1 build() {
org.apache.tajo.rpc.test.DummyProtos.MulRequest1 result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.tajo.rpc.test.DummyProtos.MulRequest1 buildPartial() {
org.apache.tajo.rpc.test.DummyProtos.MulRequest1 result = new org.apache.tajo.rpc.test.DummyProtos.MulRequest1(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.x1_ = x1_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.x2_ = x2_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.tajo.rpc.test.DummyProtos.MulRequest1) {
return mergeFrom((org.apache.tajo.rpc.test.DummyProtos.MulRequest1)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.tajo.rpc.test.DummyProtos.MulRequest1 other) {
if (other == org.apache.tajo.rpc.test.DummyProtos.MulRequest1.getDefaultInstance()) return this;
if (other.hasX1()) {
setX1(other.getX1());
}
if (other.hasX2()) {
setX2(other.getX2());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasX1()) {
return false;
}
if (!hasX2()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.tajo.rpc.test.DummyProtos.MulRequest1 parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.tajo.rpc.test.DummyProtos.MulRequest1) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 x1 = 1;
private int x1_ ;
/**
* required int32 x1 = 1;
*/
public boolean hasX1() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 x1 = 1;
*/
public int getX1() {
return x1_;
}
/**
* required int32 x1 = 1;
*/
public Builder setX1(int value) {
bitField0_ |= 0x00000001;
x1_ = value;
onChanged();
return this;
}
/**
* required int32 x1 = 1;
*/
public Builder clearX1() {
bitField0_ = (bitField0_ & ~0x00000001);
x1_ = 0;
onChanged();
return this;
}
// required int32 x2 = 2;
private int x2_ ;
/**
* required int32 x2 = 2;
*/
public boolean hasX2() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 x2 = 2;
*/
public int getX2() {
return x2_;
}
/**
* required int32 x2 = 2;
*/
public Builder setX2(int value) {
bitField0_ |= 0x00000002;
x2_ = value;
onChanged();
return this;
}
/**
* required int32 x2 = 2;
*/
public Builder clearX2() {
bitField0_ = (bitField0_ & ~0x00000002);
x2_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:MulRequest1)
}
static {
defaultInstance = new MulRequest1(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:MulRequest1)
}
public interface MulRequest2OrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 x1 = 1;
/**
* required int32 x1 = 1;
*/
boolean hasX1();
/**
* required int32 x1 = 1;
*/
int getX1();
// required int32 x2 = 2;
/**
* required int32 x2 = 2;
*/
boolean hasX2();
/**
* required int32 x2 = 2;
*/
int getX2();
}
/**
* Protobuf type {@code MulRequest2}
*/
public static final class MulRequest2 extends
com.google.protobuf.GeneratedMessage
implements MulRequest2OrBuilder {
// Use MulRequest2.newBuilder() to construct.
private MulRequest2(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private MulRequest2(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final MulRequest2 defaultInstance;
public static MulRequest2 getDefaultInstance() {
return defaultInstance;
}
public MulRequest2 getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MulRequest2(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
x1_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
x2_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_MulRequest2_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_MulRequest2_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.tajo.rpc.test.DummyProtos.MulRequest2.class, org.apache.tajo.rpc.test.DummyProtos.MulRequest2.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public MulRequest2 parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MulRequest2(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 x1 = 1;
public static final int X1_FIELD_NUMBER = 1;
private int x1_;
/**
* required int32 x1 = 1;
*/
public boolean hasX1() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 x1 = 1;
*/
public int getX1() {
return x1_;
}
// required int32 x2 = 2;
public static final int X2_FIELD_NUMBER = 2;
private int x2_;
/**
* required int32 x2 = 2;
*/
public boolean hasX2() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 x2 = 2;
*/
public int getX2() {
return x2_;
}
private void initFields() {
x1_ = 0;
x2_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasX1()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasX2()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, x1_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, x2_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, x1_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, x2_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.tajo.rpc.test.DummyProtos.MulRequest2)) {
return super.equals(obj);
}
org.apache.tajo.rpc.test.DummyProtos.MulRequest2 other = (org.apache.tajo.rpc.test.DummyProtos.MulRequest2) obj;
boolean result = true;
result = result && (hasX1() == other.hasX1());
if (hasX1()) {
result = result && (getX1()
== other.getX1());
}
result = result && (hasX2() == other.hasX2());
if (hasX2()) {
result = result && (getX2()
== other.getX2());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasX1()) {
hash = (37 * hash) + X1_FIELD_NUMBER;
hash = (53 * hash) + getX1();
}
if (hasX2()) {
hash = (37 * hash) + X2_FIELD_NUMBER;
hash = (53 * hash) + getX2();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest2 parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest2 parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest2 parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest2 parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest2 parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest2 parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest2 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest2 parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest2 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulRequest2 parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.tajo.rpc.test.DummyProtos.MulRequest2 prototype) {
return newBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code MulRequest2}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.tajo.rpc.test.DummyProtos.MulRequest2OrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_MulRequest2_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_MulRequest2_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.tajo.rpc.test.DummyProtos.MulRequest2.class, org.apache.tajo.rpc.test.DummyProtos.MulRequest2.Builder.class);
}
// Construct using org.apache.tajo.rpc.test.DummyProtos.MulRequest2.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
x1_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
x2_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_MulRequest2_descriptor;
}
public org.apache.tajo.rpc.test.DummyProtos.MulRequest2 getDefaultInstanceForType() {
return org.apache.tajo.rpc.test.DummyProtos.MulRequest2.getDefaultInstance();
}
public org.apache.tajo.rpc.test.DummyProtos.MulRequest2 build() {
org.apache.tajo.rpc.test.DummyProtos.MulRequest2 result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.tajo.rpc.test.DummyProtos.MulRequest2 buildPartial() {
org.apache.tajo.rpc.test.DummyProtos.MulRequest2 result = new org.apache.tajo.rpc.test.DummyProtos.MulRequest2(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.x1_ = x1_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.x2_ = x2_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.tajo.rpc.test.DummyProtos.MulRequest2) {
return mergeFrom((org.apache.tajo.rpc.test.DummyProtos.MulRequest2)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.tajo.rpc.test.DummyProtos.MulRequest2 other) {
if (other == org.apache.tajo.rpc.test.DummyProtos.MulRequest2.getDefaultInstance()) return this;
if (other.hasX1()) {
setX1(other.getX1());
}
if (other.hasX2()) {
setX2(other.getX2());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasX1()) {
return false;
}
if (!hasX2()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.tajo.rpc.test.DummyProtos.MulRequest2 parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.tajo.rpc.test.DummyProtos.MulRequest2) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 x1 = 1;
private int x1_ ;
/**
* required int32 x1 = 1;
*/
public boolean hasX1() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 x1 = 1;
*/
public int getX1() {
return x1_;
}
/**
* required int32 x1 = 1;
*/
public Builder setX1(int value) {
bitField0_ |= 0x00000001;
x1_ = value;
onChanged();
return this;
}
/**
* required int32 x1 = 1;
*/
public Builder clearX1() {
bitField0_ = (bitField0_ & ~0x00000001);
x1_ = 0;
onChanged();
return this;
}
// required int32 x2 = 2;
private int x2_ ;
/**
* required int32 x2 = 2;
*/
public boolean hasX2() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 x2 = 2;
*/
public int getX2() {
return x2_;
}
/**
* required int32 x2 = 2;
*/
public Builder setX2(int value) {
bitField0_ |= 0x00000002;
x2_ = value;
onChanged();
return this;
}
/**
* required int32 x2 = 2;
*/
public Builder clearX2() {
bitField0_ = (bitField0_ & ~0x00000002);
x2_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:MulRequest2)
}
static {
defaultInstance = new MulRequest2(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:MulRequest2)
}
public interface MulResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 result1 = 1;
/**
* required int32 result1 = 1;
*/
boolean hasResult1();
/**
* required int32 result1 = 1;
*/
int getResult1();
// required int32 result2 = 2;
/**
* required int32 result2 = 2;
*/
boolean hasResult2();
/**
* required int32 result2 = 2;
*/
int getResult2();
}
/**
* Protobuf type {@code MulResponse}
*/
public static final class MulResponse extends
com.google.protobuf.GeneratedMessage
implements MulResponseOrBuilder {
// Use MulResponse.newBuilder() to construct.
private MulResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private MulResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final MulResponse defaultInstance;
public static MulResponse getDefaultInstance() {
return defaultInstance;
}
public MulResponse getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MulResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
result1_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
result2_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_MulResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_MulResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.tajo.rpc.test.DummyProtos.MulResponse.class, org.apache.tajo.rpc.test.DummyProtos.MulResponse.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public MulResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MulResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int32 result1 = 1;
public static final int RESULT1_FIELD_NUMBER = 1;
private int result1_;
/**
* required int32 result1 = 1;
*/
public boolean hasResult1() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 result1 = 1;
*/
public int getResult1() {
return result1_;
}
// required int32 result2 = 2;
public static final int RESULT2_FIELD_NUMBER = 2;
private int result2_;
/**
* required int32 result2 = 2;
*/
public boolean hasResult2() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 result2 = 2;
*/
public int getResult2() {
return result2_;
}
private void initFields() {
result1_ = 0;
result2_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasResult1()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasResult2()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, result1_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, result2_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, result1_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, result2_);
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.tajo.rpc.test.DummyProtos.MulResponse)) {
return super.equals(obj);
}
org.apache.tajo.rpc.test.DummyProtos.MulResponse other = (org.apache.tajo.rpc.test.DummyProtos.MulResponse) obj;
boolean result = true;
result = result && (hasResult1() == other.hasResult1());
if (hasResult1()) {
result = result && (getResult1()
== other.getResult1());
}
result = result && (hasResult2() == other.hasResult2());
if (hasResult2()) {
result = result && (getResult2()
== other.getResult2());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasResult1()) {
hash = (37 * hash) + RESULT1_FIELD_NUMBER;
hash = (53 * hash) + getResult1();
}
if (hasResult2()) {
hash = (37 * hash) + RESULT2_FIELD_NUMBER;
hash = (53 * hash) + getResult2();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.tajo.rpc.test.DummyProtos.MulResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.tajo.rpc.test.DummyProtos.MulResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.tajo.rpc.test.DummyProtos.MulResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code MulResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.tajo.rpc.test.DummyProtos.MulResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_MulResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_MulResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.tajo.rpc.test.DummyProtos.MulResponse.class, org.apache.tajo.rpc.test.DummyProtos.MulResponse.Builder.class);
}
// Construct using org.apache.tajo.rpc.test.DummyProtos.MulResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
result1_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
result2_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_MulResponse_descriptor;
}
public org.apache.tajo.rpc.test.DummyProtos.MulResponse getDefaultInstanceForType() {
return org.apache.tajo.rpc.test.DummyProtos.MulResponse.getDefaultInstance();
}
public org.apache.tajo.rpc.test.DummyProtos.MulResponse build() {
org.apache.tajo.rpc.test.DummyProtos.MulResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.tajo.rpc.test.DummyProtos.MulResponse buildPartial() {
org.apache.tajo.rpc.test.DummyProtos.MulResponse result = new org.apache.tajo.rpc.test.DummyProtos.MulResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.result1_ = result1_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.result2_ = result2_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.tajo.rpc.test.DummyProtos.MulResponse) {
return mergeFrom((org.apache.tajo.rpc.test.DummyProtos.MulResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.tajo.rpc.test.DummyProtos.MulResponse other) {
if (other == org.apache.tajo.rpc.test.DummyProtos.MulResponse.getDefaultInstance()) return this;
if (other.hasResult1()) {
setResult1(other.getResult1());
}
if (other.hasResult2()) {
setResult2(other.getResult2());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasResult1()) {
return false;
}
if (!hasResult2()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.tajo.rpc.test.DummyProtos.MulResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.tajo.rpc.test.DummyProtos.MulResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 result1 = 1;
private int result1_ ;
/**
* required int32 result1 = 1;
*/
public boolean hasResult1() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 result1 = 1;
*/
public int getResult1() {
return result1_;
}
/**
* required int32 result1 = 1;
*/
public Builder setResult1(int value) {
bitField0_ |= 0x00000001;
result1_ = value;
onChanged();
return this;
}
/**
* required int32 result1 = 1;
*/
public Builder clearResult1() {
bitField0_ = (bitField0_ & ~0x00000001);
result1_ = 0;
onChanged();
return this;
}
// required int32 result2 = 2;
private int result2_ ;
/**
* required int32 result2 = 2;
*/
public boolean hasResult2() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 result2 = 2;
*/
public int getResult2() {
return result2_;
}
/**
* required int32 result2 = 2;
*/
public Builder setResult2(int value) {
bitField0_ |= 0x00000002;
result2_ = value;
onChanged();
return this;
}
/**
* required int32 result2 = 2;
*/
public Builder clearResult2() {
bitField0_ = (bitField0_ & ~0x00000002);
result2_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:MulResponse)
}
static {
defaultInstance = new MulResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:MulResponse)
}
public interface InnerNodeOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string instr = 1;
/**
* required string instr = 1;
*/
boolean hasInstr();
/**
* required string instr = 1;
*/
java.lang.String getInstr();
/**
* required string instr = 1;
*/
com.google.protobuf.ByteString
getInstrBytes();
}
/**
* Protobuf type {@code InnerNode}
*/
public static final class InnerNode extends
com.google.protobuf.GeneratedMessage
implements InnerNodeOrBuilder {
// Use InnerNode.newBuilder() to construct.
private InnerNode(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private InnerNode(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final InnerNode defaultInstance;
public static InnerNode getDefaultInstance() {
return defaultInstance;
}
public InnerNode getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private InnerNode(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
instr_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_InnerNode_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_InnerNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.tajo.rpc.test.DummyProtos.InnerNode.class, org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public InnerNode parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new InnerNode(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string instr = 1;
public static final int INSTR_FIELD_NUMBER = 1;
private java.lang.Object instr_;
/**
* required string instr = 1;
*/
public boolean hasInstr() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string instr = 1;
*/
public java.lang.String getInstr() {
java.lang.Object ref = instr_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instr_ = s;
}
return s;
}
}
/**
* required string instr = 1;
*/
public com.google.protobuf.ByteString
getInstrBytes() {
java.lang.Object ref = instr_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instr_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
instr_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasInstr()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getInstrBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getInstrBytes());
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.tajo.rpc.test.DummyProtos.InnerNode)) {
return super.equals(obj);
}
org.apache.tajo.rpc.test.DummyProtos.InnerNode other = (org.apache.tajo.rpc.test.DummyProtos.InnerNode) obj;
boolean result = true;
result = result && (hasInstr() == other.hasInstr());
if (hasInstr()) {
result = result && getInstr()
.equals(other.getInstr());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasInstr()) {
hash = (37 * hash) + INSTR_FIELD_NUMBER;
hash = (53 * hash) + getInstr().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerNode parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerNode parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerNode parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerNode parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerNode parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerNode parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerNode parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerNode parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerNode parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerNode parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.tajo.rpc.test.DummyProtos.InnerNode prototype) {
return newBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code InnerNode}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_InnerNode_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_InnerNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.tajo.rpc.test.DummyProtos.InnerNode.class, org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder.class);
}
// Construct using org.apache.tajo.rpc.test.DummyProtos.InnerNode.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
instr_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_InnerNode_descriptor;
}
public org.apache.tajo.rpc.test.DummyProtos.InnerNode getDefaultInstanceForType() {
return org.apache.tajo.rpc.test.DummyProtos.InnerNode.getDefaultInstance();
}
public org.apache.tajo.rpc.test.DummyProtos.InnerNode build() {
org.apache.tajo.rpc.test.DummyProtos.InnerNode result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.tajo.rpc.test.DummyProtos.InnerNode buildPartial() {
org.apache.tajo.rpc.test.DummyProtos.InnerNode result = new org.apache.tajo.rpc.test.DummyProtos.InnerNode(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.instr_ = instr_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.tajo.rpc.test.DummyProtos.InnerNode) {
return mergeFrom((org.apache.tajo.rpc.test.DummyProtos.InnerNode)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.tajo.rpc.test.DummyProtos.InnerNode other) {
if (other == org.apache.tajo.rpc.test.DummyProtos.InnerNode.getDefaultInstance()) return this;
if (other.hasInstr()) {
bitField0_ |= 0x00000001;
instr_ = other.instr_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasInstr()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.tajo.rpc.test.DummyProtos.InnerNode parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.tajo.rpc.test.DummyProtos.InnerNode) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string instr = 1;
private java.lang.Object instr_ = "";
/**
* required string instr = 1;
*/
public boolean hasInstr() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string instr = 1;
*/
public java.lang.String getInstr() {
java.lang.Object ref = instr_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
instr_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string instr = 1;
*/
public com.google.protobuf.ByteString
getInstrBytes() {
java.lang.Object ref = instr_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instr_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string instr = 1;
*/
public Builder setInstr(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
instr_ = value;
onChanged();
return this;
}
/**
* required string instr = 1;
*/
public Builder clearInstr() {
bitField0_ = (bitField0_ & ~0x00000001);
instr_ = getDefaultInstance().getInstr();
onChanged();
return this;
}
/**
* required string instr = 1;
*/
public Builder setInstrBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
instr_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:InnerNode)
}
static {
defaultInstance = new InnerNode(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:InnerNode)
}
public interface InnerRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .InnerNode nodes = 1;
/**
* repeated .InnerNode nodes = 1;
*/
java.util.List
getNodesList();
/**
* repeated .InnerNode nodes = 1;
*/
org.apache.tajo.rpc.test.DummyProtos.InnerNode getNodes(int index);
/**
* repeated .InnerNode nodes = 1;
*/
int getNodesCount();
/**
* repeated .InnerNode nodes = 1;
*/
java.util.List extends org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder>
getNodesOrBuilderList();
/**
* repeated .InnerNode nodes = 1;
*/
org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder getNodesOrBuilder(
int index);
}
/**
* Protobuf type {@code InnerRequest}
*/
public static final class InnerRequest extends
com.google.protobuf.GeneratedMessage
implements InnerRequestOrBuilder {
// Use InnerRequest.newBuilder() to construct.
private InnerRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private InnerRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final InnerRequest defaultInstance;
public static InnerRequest getDefaultInstance() {
return defaultInstance;
}
public InnerRequest getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private InnerRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
nodes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
nodes_.add(input.readMessage(org.apache.tajo.rpc.test.DummyProtos.InnerNode.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
nodes_ = java.util.Collections.unmodifiableList(nodes_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_InnerRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_InnerRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.tajo.rpc.test.DummyProtos.InnerRequest.class, org.apache.tajo.rpc.test.DummyProtos.InnerRequest.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public InnerRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new InnerRequest(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .InnerNode nodes = 1;
public static final int NODES_FIELD_NUMBER = 1;
private java.util.List nodes_;
/**
* repeated .InnerNode nodes = 1;
*/
public java.util.List getNodesList() {
return nodes_;
}
/**
* repeated .InnerNode nodes = 1;
*/
public java.util.List extends org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder>
getNodesOrBuilderList() {
return nodes_;
}
/**
* repeated .InnerNode nodes = 1;
*/
public int getNodesCount() {
return nodes_.size();
}
/**
* repeated .InnerNode nodes = 1;
*/
public org.apache.tajo.rpc.test.DummyProtos.InnerNode getNodes(int index) {
return nodes_.get(index);
}
/**
* repeated .InnerNode nodes = 1;
*/
public org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder getNodesOrBuilder(
int index) {
return nodes_.get(index);
}
private void initFields() {
nodes_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getNodesCount(); i++) {
if (!getNodes(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < nodes_.size(); i++) {
output.writeMessage(1, nodes_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < nodes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, nodes_.get(i));
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.tajo.rpc.test.DummyProtos.InnerRequest)) {
return super.equals(obj);
}
org.apache.tajo.rpc.test.DummyProtos.InnerRequest other = (org.apache.tajo.rpc.test.DummyProtos.InnerRequest) obj;
boolean result = true;
result = result && getNodesList()
.equals(other.getNodesList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (getNodesCount() > 0) {
hash = (37 * hash) + NODES_FIELD_NUMBER;
hash = (53 * hash) + getNodesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.tajo.rpc.test.DummyProtos.InnerRequest prototype) {
return newBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code InnerRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.tajo.rpc.test.DummyProtos.InnerRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_InnerRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_InnerRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.tajo.rpc.test.DummyProtos.InnerRequest.class, org.apache.tajo.rpc.test.DummyProtos.InnerRequest.Builder.class);
}
// Construct using org.apache.tajo.rpc.test.DummyProtos.InnerRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getNodesFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (nodesBuilder_ == null) {
nodes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
nodesBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_InnerRequest_descriptor;
}
public org.apache.tajo.rpc.test.DummyProtos.InnerRequest getDefaultInstanceForType() {
return org.apache.tajo.rpc.test.DummyProtos.InnerRequest.getDefaultInstance();
}
public org.apache.tajo.rpc.test.DummyProtos.InnerRequest build() {
org.apache.tajo.rpc.test.DummyProtos.InnerRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.tajo.rpc.test.DummyProtos.InnerRequest buildPartial() {
org.apache.tajo.rpc.test.DummyProtos.InnerRequest result = new org.apache.tajo.rpc.test.DummyProtos.InnerRequest(this);
int from_bitField0_ = bitField0_;
if (nodesBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
nodes_ = java.util.Collections.unmodifiableList(nodes_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.nodes_ = nodes_;
} else {
result.nodes_ = nodesBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.tajo.rpc.test.DummyProtos.InnerRequest) {
return mergeFrom((org.apache.tajo.rpc.test.DummyProtos.InnerRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.tajo.rpc.test.DummyProtos.InnerRequest other) {
if (other == org.apache.tajo.rpc.test.DummyProtos.InnerRequest.getDefaultInstance()) return this;
if (nodesBuilder_ == null) {
if (!other.nodes_.isEmpty()) {
if (nodes_.isEmpty()) {
nodes_ = other.nodes_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureNodesIsMutable();
nodes_.addAll(other.nodes_);
}
onChanged();
}
} else {
if (!other.nodes_.isEmpty()) {
if (nodesBuilder_.isEmpty()) {
nodesBuilder_.dispose();
nodesBuilder_ = null;
nodes_ = other.nodes_;
bitField0_ = (bitField0_ & ~0x00000001);
nodesBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getNodesFieldBuilder() : null;
} else {
nodesBuilder_.addAllMessages(other.nodes_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getNodesCount(); i++) {
if (!getNodes(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.tajo.rpc.test.DummyProtos.InnerRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.tajo.rpc.test.DummyProtos.InnerRequest) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .InnerNode nodes = 1;
private java.util.List nodes_ =
java.util.Collections.emptyList();
private void ensureNodesIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
nodes_ = new java.util.ArrayList(nodes_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.tajo.rpc.test.DummyProtos.InnerNode, org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder, org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder> nodesBuilder_;
/**
* repeated .InnerNode nodes = 1;
*/
public java.util.List getNodesList() {
if (nodesBuilder_ == null) {
return java.util.Collections.unmodifiableList(nodes_);
} else {
return nodesBuilder_.getMessageList();
}
}
/**
* repeated .InnerNode nodes = 1;
*/
public int getNodesCount() {
if (nodesBuilder_ == null) {
return nodes_.size();
} else {
return nodesBuilder_.getCount();
}
}
/**
* repeated .InnerNode nodes = 1;
*/
public org.apache.tajo.rpc.test.DummyProtos.InnerNode getNodes(int index) {
if (nodesBuilder_ == null) {
return nodes_.get(index);
} else {
return nodesBuilder_.getMessage(index);
}
}
/**
* repeated .InnerNode nodes = 1;
*/
public Builder setNodes(
int index, org.apache.tajo.rpc.test.DummyProtos.InnerNode value) {
if (nodesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNodesIsMutable();
nodes_.set(index, value);
onChanged();
} else {
nodesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .InnerNode nodes = 1;
*/
public Builder setNodes(
int index, org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder builderForValue) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
nodes_.set(index, builderForValue.build());
onChanged();
} else {
nodesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .InnerNode nodes = 1;
*/
public Builder addNodes(org.apache.tajo.rpc.test.DummyProtos.InnerNode value) {
if (nodesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNodesIsMutable();
nodes_.add(value);
onChanged();
} else {
nodesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .InnerNode nodes = 1;
*/
public Builder addNodes(
int index, org.apache.tajo.rpc.test.DummyProtos.InnerNode value) {
if (nodesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNodesIsMutable();
nodes_.add(index, value);
onChanged();
} else {
nodesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .InnerNode nodes = 1;
*/
public Builder addNodes(
org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder builderForValue) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
nodes_.add(builderForValue.build());
onChanged();
} else {
nodesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .InnerNode nodes = 1;
*/
public Builder addNodes(
int index, org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder builderForValue) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
nodes_.add(index, builderForValue.build());
onChanged();
} else {
nodesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .InnerNode nodes = 1;
*/
public Builder addAllNodes(
java.lang.Iterable extends org.apache.tajo.rpc.test.DummyProtos.InnerNode> values) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
super.addAll(values, nodes_);
onChanged();
} else {
nodesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .InnerNode nodes = 1;
*/
public Builder clearNodes() {
if (nodesBuilder_ == null) {
nodes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
nodesBuilder_.clear();
}
return this;
}
/**
* repeated .InnerNode nodes = 1;
*/
public Builder removeNodes(int index) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
nodes_.remove(index);
onChanged();
} else {
nodesBuilder_.remove(index);
}
return this;
}
/**
* repeated .InnerNode nodes = 1;
*/
public org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder getNodesBuilder(
int index) {
return getNodesFieldBuilder().getBuilder(index);
}
/**
* repeated .InnerNode nodes = 1;
*/
public org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder getNodesOrBuilder(
int index) {
if (nodesBuilder_ == null) {
return nodes_.get(index); } else {
return nodesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .InnerNode nodes = 1;
*/
public java.util.List extends org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder>
getNodesOrBuilderList() {
if (nodesBuilder_ != null) {
return nodesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(nodes_);
}
}
/**
* repeated .InnerNode nodes = 1;
*/
public org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder addNodesBuilder() {
return getNodesFieldBuilder().addBuilder(
org.apache.tajo.rpc.test.DummyProtos.InnerNode.getDefaultInstance());
}
/**
* repeated .InnerNode nodes = 1;
*/
public org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder addNodesBuilder(
int index) {
return getNodesFieldBuilder().addBuilder(
index, org.apache.tajo.rpc.test.DummyProtos.InnerNode.getDefaultInstance());
}
/**
* repeated .InnerNode nodes = 1;
*/
public java.util.List
getNodesBuilderList() {
return getNodesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.tajo.rpc.test.DummyProtos.InnerNode, org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder, org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder>
getNodesFieldBuilder() {
if (nodesBuilder_ == null) {
nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.apache.tajo.rpc.test.DummyProtos.InnerNode, org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder, org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder>(
nodes_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
nodes_ = null;
}
return nodesBuilder_;
}
// @@protoc_insertion_point(builder_scope:InnerRequest)
}
static {
defaultInstance = new InnerRequest(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:InnerRequest)
}
public interface InnerResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .InnerNode nodes = 1;
/**
* repeated .InnerNode nodes = 1;
*/
java.util.List
getNodesList();
/**
* repeated .InnerNode nodes = 1;
*/
org.apache.tajo.rpc.test.DummyProtos.InnerNode getNodes(int index);
/**
* repeated .InnerNode nodes = 1;
*/
int getNodesCount();
/**
* repeated .InnerNode nodes = 1;
*/
java.util.List extends org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder>
getNodesOrBuilderList();
/**
* repeated .InnerNode nodes = 1;
*/
org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder getNodesOrBuilder(
int index);
}
/**
* Protobuf type {@code InnerResponse}
*/
public static final class InnerResponse extends
com.google.protobuf.GeneratedMessage
implements InnerResponseOrBuilder {
// Use InnerResponse.newBuilder() to construct.
private InnerResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private InnerResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final InnerResponse defaultInstance;
public static InnerResponse getDefaultInstance() {
return defaultInstance;
}
public InnerResponse getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private InnerResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
nodes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
nodes_.add(input.readMessage(org.apache.tajo.rpc.test.DummyProtos.InnerNode.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
nodes_ = java.util.Collections.unmodifiableList(nodes_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_InnerResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_InnerResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.tajo.rpc.test.DummyProtos.InnerResponse.class, org.apache.tajo.rpc.test.DummyProtos.InnerResponse.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public InnerResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new InnerResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .InnerNode nodes = 1;
public static final int NODES_FIELD_NUMBER = 1;
private java.util.List nodes_;
/**
* repeated .InnerNode nodes = 1;
*/
public java.util.List getNodesList() {
return nodes_;
}
/**
* repeated .InnerNode nodes = 1;
*/
public java.util.List extends org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder>
getNodesOrBuilderList() {
return nodes_;
}
/**
* repeated .InnerNode nodes = 1;
*/
public int getNodesCount() {
return nodes_.size();
}
/**
* repeated .InnerNode nodes = 1;
*/
public org.apache.tajo.rpc.test.DummyProtos.InnerNode getNodes(int index) {
return nodes_.get(index);
}
/**
* repeated .InnerNode nodes = 1;
*/
public org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder getNodesOrBuilder(
int index) {
return nodes_.get(index);
}
private void initFields() {
nodes_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getNodesCount(); i++) {
if (!getNodes(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < nodes_.size(); i++) {
output.writeMessage(1, nodes_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < nodes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, nodes_.get(i));
}
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();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.tajo.rpc.test.DummyProtos.InnerResponse)) {
return super.equals(obj);
}
org.apache.tajo.rpc.test.DummyProtos.InnerResponse other = (org.apache.tajo.rpc.test.DummyProtos.InnerResponse) obj;
boolean result = true;
result = result && getNodesList()
.equals(other.getNodesList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (getNodesCount() > 0) {
hash = (37 * hash) + NODES_FIELD_NUMBER;
hash = (53 * hash) + getNodesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.tajo.rpc.test.DummyProtos.InnerResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.tajo.rpc.test.DummyProtos.InnerResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code InnerResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.tajo.rpc.test.DummyProtos.InnerResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_InnerResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_InnerResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.tajo.rpc.test.DummyProtos.InnerResponse.class, org.apache.tajo.rpc.test.DummyProtos.InnerResponse.Builder.class);
}
// Construct using org.apache.tajo.rpc.test.DummyProtos.InnerResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getNodesFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (nodesBuilder_ == null) {
nodes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
nodesBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.tajo.rpc.test.DummyProtos.internal_static_InnerResponse_descriptor;
}
public org.apache.tajo.rpc.test.DummyProtos.InnerResponse getDefaultInstanceForType() {
return org.apache.tajo.rpc.test.DummyProtos.InnerResponse.getDefaultInstance();
}
public org.apache.tajo.rpc.test.DummyProtos.InnerResponse build() {
org.apache.tajo.rpc.test.DummyProtos.InnerResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.tajo.rpc.test.DummyProtos.InnerResponse buildPartial() {
org.apache.tajo.rpc.test.DummyProtos.InnerResponse result = new org.apache.tajo.rpc.test.DummyProtos.InnerResponse(this);
int from_bitField0_ = bitField0_;
if (nodesBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
nodes_ = java.util.Collections.unmodifiableList(nodes_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.nodes_ = nodes_;
} else {
result.nodes_ = nodesBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.tajo.rpc.test.DummyProtos.InnerResponse) {
return mergeFrom((org.apache.tajo.rpc.test.DummyProtos.InnerResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.tajo.rpc.test.DummyProtos.InnerResponse other) {
if (other == org.apache.tajo.rpc.test.DummyProtos.InnerResponse.getDefaultInstance()) return this;
if (nodesBuilder_ == null) {
if (!other.nodes_.isEmpty()) {
if (nodes_.isEmpty()) {
nodes_ = other.nodes_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureNodesIsMutable();
nodes_.addAll(other.nodes_);
}
onChanged();
}
} else {
if (!other.nodes_.isEmpty()) {
if (nodesBuilder_.isEmpty()) {
nodesBuilder_.dispose();
nodesBuilder_ = null;
nodes_ = other.nodes_;
bitField0_ = (bitField0_ & ~0x00000001);
nodesBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getNodesFieldBuilder() : null;
} else {
nodesBuilder_.addAllMessages(other.nodes_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getNodesCount(); i++) {
if (!getNodes(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.tajo.rpc.test.DummyProtos.InnerResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.tajo.rpc.test.DummyProtos.InnerResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .InnerNode nodes = 1;
private java.util.List nodes_ =
java.util.Collections.emptyList();
private void ensureNodesIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
nodes_ = new java.util.ArrayList(nodes_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.tajo.rpc.test.DummyProtos.InnerNode, org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder, org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder> nodesBuilder_;
/**
* repeated .InnerNode nodes = 1;
*/
public java.util.List getNodesList() {
if (nodesBuilder_ == null) {
return java.util.Collections.unmodifiableList(nodes_);
} else {
return nodesBuilder_.getMessageList();
}
}
/**
* repeated .InnerNode nodes = 1;
*/
public int getNodesCount() {
if (nodesBuilder_ == null) {
return nodes_.size();
} else {
return nodesBuilder_.getCount();
}
}
/**
* repeated .InnerNode nodes = 1;
*/
public org.apache.tajo.rpc.test.DummyProtos.InnerNode getNodes(int index) {
if (nodesBuilder_ == null) {
return nodes_.get(index);
} else {
return nodesBuilder_.getMessage(index);
}
}
/**
* repeated .InnerNode nodes = 1;
*/
public Builder setNodes(
int index, org.apache.tajo.rpc.test.DummyProtos.InnerNode value) {
if (nodesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNodesIsMutable();
nodes_.set(index, value);
onChanged();
} else {
nodesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .InnerNode nodes = 1;
*/
public Builder setNodes(
int index, org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder builderForValue) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
nodes_.set(index, builderForValue.build());
onChanged();
} else {
nodesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .InnerNode nodes = 1;
*/
public Builder addNodes(org.apache.tajo.rpc.test.DummyProtos.InnerNode value) {
if (nodesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNodesIsMutable();
nodes_.add(value);
onChanged();
} else {
nodesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .InnerNode nodes = 1;
*/
public Builder addNodes(
int index, org.apache.tajo.rpc.test.DummyProtos.InnerNode value) {
if (nodesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNodesIsMutable();
nodes_.add(index, value);
onChanged();
} else {
nodesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .InnerNode nodes = 1;
*/
public Builder addNodes(
org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder builderForValue) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
nodes_.add(builderForValue.build());
onChanged();
} else {
nodesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .InnerNode nodes = 1;
*/
public Builder addNodes(
int index, org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder builderForValue) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
nodes_.add(index, builderForValue.build());
onChanged();
} else {
nodesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .InnerNode nodes = 1;
*/
public Builder addAllNodes(
java.lang.Iterable extends org.apache.tajo.rpc.test.DummyProtos.InnerNode> values) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
super.addAll(values, nodes_);
onChanged();
} else {
nodesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .InnerNode nodes = 1;
*/
public Builder clearNodes() {
if (nodesBuilder_ == null) {
nodes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
nodesBuilder_.clear();
}
return this;
}
/**
* repeated .InnerNode nodes = 1;
*/
public Builder removeNodes(int index) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
nodes_.remove(index);
onChanged();
} else {
nodesBuilder_.remove(index);
}
return this;
}
/**
* repeated .InnerNode nodes = 1;
*/
public org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder getNodesBuilder(
int index) {
return getNodesFieldBuilder().getBuilder(index);
}
/**
* repeated .InnerNode nodes = 1;
*/
public org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder getNodesOrBuilder(
int index) {
if (nodesBuilder_ == null) {
return nodes_.get(index); } else {
return nodesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .InnerNode nodes = 1;
*/
public java.util.List extends org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder>
getNodesOrBuilderList() {
if (nodesBuilder_ != null) {
return nodesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(nodes_);
}
}
/**
* repeated .InnerNode nodes = 1;
*/
public org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder addNodesBuilder() {
return getNodesFieldBuilder().addBuilder(
org.apache.tajo.rpc.test.DummyProtos.InnerNode.getDefaultInstance());
}
/**
* repeated .InnerNode nodes = 1;
*/
public org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder addNodesBuilder(
int index) {
return getNodesFieldBuilder().addBuilder(
index, org.apache.tajo.rpc.test.DummyProtos.InnerNode.getDefaultInstance());
}
/**
* repeated .InnerNode nodes = 1;
*/
public java.util.List
getNodesBuilderList() {
return getNodesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.tajo.rpc.test.DummyProtos.InnerNode, org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder, org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder>
getNodesFieldBuilder() {
if (nodesBuilder_ == null) {
nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.apache.tajo.rpc.test.DummyProtos.InnerNode, org.apache.tajo.rpc.test.DummyProtos.InnerNode.Builder, org.apache.tajo.rpc.test.DummyProtos.InnerNodeOrBuilder>(
nodes_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
nodes_ = null;
}
return nodesBuilder_;
}
// @@protoc_insertion_point(builder_scope:InnerResponse)
}
static {
defaultInstance = new InnerResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:InnerResponse)
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_MulRequest1_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_MulRequest1_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_MulRequest2_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_MulRequest2_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_MulResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_MulResponse_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_InnerNode_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_InnerNode_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_InnerRequest_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_InnerRequest_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_InnerResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_InnerResponse_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\021DummyProtos.proto\"%\n\013MulRequest1\022\n\n\002x1" +
"\030\001 \002(\005\022\n\n\002x2\030\002 \002(\005\"%\n\013MulRequest2\022\n\n\002x1\030" +
"\001 \002(\005\022\n\n\002x2\030\002 \002(\005\"/\n\013MulResponse\022\017\n\007resu" +
"lt1\030\001 \002(\005\022\017\n\007result2\030\002 \002(\005\"\032\n\tInnerNode\022" +
"\r\n\005instr\030\001 \002(\t\")\n\014InnerRequest\022\031\n\005nodes\030" +
"\001 \003(\0132\n.InnerNode\"*\n\rInnerResponse\022\031\n\005no" +
"des\030\001 \003(\0132\n.InnerNodeB-\n\030org.apache.tajo" +
".rpc.testB\013DummyProtos\210\001\001\240\001\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;
internal_static_MulRequest1_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_MulRequest1_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_MulRequest1_descriptor,
new java.lang.String[] { "X1", "X2", });
internal_static_MulRequest2_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_MulRequest2_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_MulRequest2_descriptor,
new java.lang.String[] { "X1", "X2", });
internal_static_MulResponse_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_MulResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_MulResponse_descriptor,
new java.lang.String[] { "Result1", "Result2", });
internal_static_InnerNode_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_InnerNode_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_InnerNode_descriptor,
new java.lang.String[] { "Instr", });
internal_static_InnerRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_InnerRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_InnerRequest_descriptor,
new java.lang.String[] { "Nodes", });
internal_static_InnerResponse_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_InnerResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_InnerResponse_descriptor,
new java.lang.String[] { "Nodes", });
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy