public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, action_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getBlockPoolIdBytes()); } for (int i = 0; i < blocks_.size(); i++) { output.writeMessage(3, blocks_.get(i)); } for (int i = 0; i < targets_.size(); i++) { output.writeMessage(4, targets_.get(i)); } for (int i = 0; i < targetStorageUuids_.size(); i++) { output.writeMessage(5, targetStorageUuids_.get(i)); } for (int i = 0; i < targetStorageTypes_.size(); i++) { output.writeMessage(6, targetStorageTypes_.get(i)); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, action_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getBlockPoolIdBytes()); } for (int i = 0; i < blocks_.size(); i++) { output.writeMessage(3, blocks_.get(i)); } for (int i = 0; i < targets_.size(); i++) { output.writeMessage(4, targets_.get(i)); } for (int i = 0; i < targetStorageUuids_.size(); i++) { output.writeMessage(5, targetStorageUuids_.get(i)); } for (int i = 0; i < targetStorageTypes_.size(); i++) { output.writeMessage(6, targetStorageTypes_.get(i)); } getUnknownFields().writeTo(output); }
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, action_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getBlockPoolIdBytes()); } for (int i = 0; i < blocks_.size(); i++) { output.writeMessage(3, blocks_.get(i)); } for (int i = 0; i < targets_.size(); i++) { output.writeMessage(4, targets_.get(i)); } for (int i = 0; i < targetStorageUuids_.size(); i++) { output.writeMessage(5, targetStorageUuids_.get(i)); } for (int i = 0; i < targetStorageTypes_.size(); i++) { output.writeMessage(6, targetStorageTypes_.get(i)); } getUnknownFields().writeTo(output); }