int () { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < command_.size(); i++) { dataSize += computeStringSizeNoTag(command_.getRaw(i)); } size += dataSize; size += 1 * getCommandList().size(); } if (!getWorkingDirBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workingDir_); } if (!getInFileBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, inFile_); } if (!getOutFileBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, outFile_); } if (!getErrFileBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, errFile_); } if (redirectErrorStream_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, redirectErrorStream_); } for (java.util.Map.Entry<java.lang.String, java.lang.String> entry : internalGetEnviron().getMap().entrySet()) { com.google.protobuf.MapEntry<java.lang.String, java.lang.String> environ__ = EnvironDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, environ__); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }