class_docstr: Attributes:
   - id
   - dist
   - externId
   - obj
class_docstr_tok: ["Attributes",":","-","id","-","dist","-","externId","-","obj"]
code: def validate(self):
      if self.id is None:
          raise TProtocolException(
              message="Required field id is unset!"
          )
      if self.dist is None:
          raise TProtocolException(
              message="Required field dist is unset!"
          )
      return
  
imports: from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
  from thrift.protocol.TProtocol import TProtocolException
  from thrift.TRecursive import fix_spec
  import sys
  from thrift.transport import TTransport
label_desc: Use image node_id 4 for calling the ReplyEntry obj's underlying member method code with example usage: obj.validate() without return types