public org.apache.drill.exec.proto.UserProtos.RequestResults buildPartial() { org.apache.drill.exec.proto.UserProtos.RequestResults result = new org.apache.drill.exec.proto.UserProtos.RequestResults(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (queryIdBuilder_ == null) { result.queryId_ = queryId_; } else { result.queryId_ = queryIdBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.maximumResponses_ = maximumResponses_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, queryId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, maximumResponses_); } getUnknownFields().writeTo(output); }
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
public org.apache.drill.exec.proto.UserProtos.RequestResults buildPartial() { org.apache.drill.exec.proto.UserProtos.RequestResults result = new org.apache.drill.exec.proto.UserProtos.RequestResults(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (queryIdBuilder_ == null) { result.queryId_ = queryId_; } else { result.queryId_ = queryIdBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.maximumResponses_ = maximumResponses_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, queryId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, maximumResponses_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public org.apache.drill.exec.proto.UserProtos.RequestResults getDefaultInstanceForType() { return org.apache.drill.exec.proto.UserProtos.RequestResults.getDefaultInstance(); }
public org.apache.drill.exec.proto.UserProtos.RequestResults build() { org.apache.drill.exec.proto.UserProtos.RequestResults result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.RequestResults message) { return message.isInitialized(); } public java.lang.String getFieldName(int number)
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, queryId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, maximumResponses_); } getUnknownFields().writeTo(output); }
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.RequestResults message) throws java.io.IOException { if(message.hasQueryId()) output.writeObject(1, message.getQueryId(), org.apache.drill.exec.proto.SchemaUserBitShared.QueryId.WRITE, false); if(message.hasMaximumResponses()) output.writeInt32(2, message.getMaximumResponses(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.RequestResults message)
public Builder mergeFrom(org.apache.drill.exec.proto.UserProtos.RequestResults other) { if (other == org.apache.drill.exec.proto.UserProtos.RequestResults.getDefaultInstance()) return this; if (other.hasQueryId()) { mergeQueryId(other.getQueryId()); } if (other.hasMaximumResponses()) { setMaximumResponses(other.getMaximumResponses()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public org.apache.drill.exec.proto.UserProtos.RequestResults getDefaultInstanceForType() { return org.apache.drill.exec.proto.UserProtos.RequestResults.getDefaultInstance(); }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, queryId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, maximumResponses_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public org.apache.drill.exec.proto.UserProtos.RequestResults build() { org.apache.drill.exec.proto.UserProtos.RequestResults result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.RequestResults message) { return message.isInitialized(); } public java.lang.String getFieldName(int number)
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.RequestResults message) throws java.io.IOException { if(message.hasQueryId()) output.writeObject(1, message.getQueryId(), org.apache.drill.exec.proto.SchemaUserBitShared.QueryId.WRITE, false); if(message.hasMaximumResponses()) output.writeInt32(2, message.getMaximumResponses(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.RequestResults message)
public Builder mergeFrom(org.apache.drill.exec.proto.UserProtos.RequestResults other) { if (other == org.apache.drill.exec.proto.UserProtos.RequestResults.getDefaultInstance()) return this; if (other.hasQueryId()) { mergeQueryId(other.getQueryId()); } if (other.hasMaximumResponses()) { setMaximumResponses(other.getMaximumResponses()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }