public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNameBytes()); } for (int i = 0; i < functionSignature_.size(); i++) { output.writeBytes(2, functionSignature_.getByteString(i)); } getUnknownFields().writeTo(output); }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getNameBytes()); } { int dataSize = 0; for (int i = 0; i < functionSignature_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(functionSignature_.getByteString(i)); } size += dataSize; size += 1 * getFunctionSignatureList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public Builder mergeFrom(org.apache.drill.exec.proto.UserBitShared.Jar other) { if (other == org.apache.drill.exec.proto.UserBitShared.Jar.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (!other.functionSignature_.isEmpty()) { if (functionSignature_.isEmpty()) { functionSignature_ = other.functionSignature_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureFunctionSignatureIsMutable(); functionSignature_.addAll(other.functionSignature_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.drill.exec.proto.UserBitShared.Jar other) { if (other == org.apache.drill.exec.proto.UserBitShared.Jar.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (!other.functionSignature_.isEmpty()) { if (functionSignature_.isEmpty()) { functionSignature_ = other.functionSignature_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureFunctionSignatureIsMutable(); functionSignature_.addAll(other.functionSignature_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getNameBytes()); } { int dataSize = 0; for (int i = 0; i < functionSignature_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(functionSignature_.getByteString(i)); } size += dataSize; size += 1 * getFunctionSignatureList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNameBytes()); } for (int i = 0; i < functionSignature_.size(); i++) { output.writeBytes(2, functionSignature_.getByteString(i)); } getUnknownFields().writeTo(output); }