code: public org.tensorflow.framework.TensorProtoOrBuilder getTensorOrBuilder() {
      if (valueCase_ == 8) {
         return (org.tensorflow.framework.TensorProto) value_;
      }
      return org.tensorflow.framework.TensorProto.getDefaultInstance();
    }
docs: <pre>
  "tensor"
  </pre>
  
  <code>optional .tensorflow.TensorProto tensor = 8;</code>